mirror of
				https://github.com/ggml-org/llama.cpp.git
				synced 2025-10-31 08:51:55 +00:00 
			
		
		
		
	vulkan: compile a test shader in cmake to check for coopmat2 support (#10713)
This commit is contained in:
		| @@ -342,14 +342,14 @@ void process_shaders() { | ||||
|         matmul_shaders(true, matmul_id, true, false, false); | ||||
|         matmul_shaders(true, matmul_id, true, false, true); | ||||
|  | ||||
| #if defined(VK_NV_cooperative_matrix2) | ||||
| #if defined(GGML_VULKAN_COOPMAT2_GLSLC_SUPPORT) | ||||
|         // Coopmat2, fp32acc and fp16acc | ||||
|         matmul_shaders(true, matmul_id, false, true, false); | ||||
|         matmul_shaders(true, matmul_id, false, true, true); | ||||
| #endif | ||||
|     } | ||||
|  | ||||
| #if defined(VK_NV_cooperative_matrix2) | ||||
| #if defined(GGML_VULKAN_COOPMAT2_GLSLC_SUPPORT) | ||||
|     // flash attention | ||||
|     for (const auto& f16acc : {false, true}) { | ||||
|         std::string acctype = f16acc ? "float16_t" : "float"; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Jeff Bolz
					Jeff Bolz