mirror of
				https://github.com/ggml-org/llama.cpp.git
				synced 2025-10-30 08:42:00 +00:00 
			
		
		
		
	HIP: fix rocWMMA build flags under Windows (#12230)
This commit is contained in:
		
							
								
								
									
										4
									
								
								.github/workflows/build.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.github/workflows/build.yml
									
									
									
									
										vendored
									
									
								
							| @@ -1238,7 +1238,7 @@ jobs: | ||||
|           cmake -G "Unix Makefiles" -B build -S . ` | ||||
|             -DCMAKE_C_COMPILER="${env:HIP_PATH}\bin\clang.exe" ` | ||||
|             -DCMAKE_CXX_COMPILER="${env:HIP_PATH}\bin\clang++.exe" ` | ||||
|             -DCMAKE_CXX_FLAGS="-Irocwmma/library/include/" ` | ||||
|             -DCMAKE_CXX_FLAGS="-I$($PWD.Path.Replace('\', '/'))/rocwmma/library/include/" ` | ||||
|             -DCMAKE_BUILD_TYPE=Release ` | ||||
|             -DGGML_HIP=ON ` | ||||
|             -DGGML_HIP_ROCWMMA_FATTN=ON ` | ||||
| @@ -1294,7 +1294,7 @@ jobs: | ||||
|           cmake -G "Unix Makefiles" -B build -S . ` | ||||
|             -DCMAKE_C_COMPILER="${env:HIP_PATH}\bin\clang.exe" ` | ||||
|             -DCMAKE_CXX_COMPILER="${env:HIP_PATH}\bin\clang++.exe" ` | ||||
|             -DCMAKE_CXX_FLAGS="-Irocwmma/library/include/" ` | ||||
|             -DCMAKE_CXX_FLAGS="-I$($PWD.Path.Replace('\', '/'))/rocwmma/library/include/" ` | ||||
|             -DCMAKE_BUILD_TYPE=Release ` | ||||
|             -DAMDGPU_TARGETS=${{ matrix.gpu_target }} ` | ||||
|             -DGGML_HIP_ROCWMMA_FATTN=ON ` | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 David Huang
					David Huang