mirror of
				https://github.com/ggml-org/llama.cpp.git
				synced 2025-10-31 08:51:55 +00:00 
			
		
		
		
	vulkan: fix build when glslc doesn't support coopmat (#12683)
This commit is contained in:
		| @@ -3136,7 +3136,9 @@ static void ggml_vk_print_gpu_info(size_t idx) { | |||||||
|                        && shader_integer_dot_product_features.shaderIntegerDotProduct; |                        && shader_integer_dot_product_features.shaderIntegerDotProduct; | ||||||
|  |  | ||||||
|     coopmat_support = coopmat_support |     coopmat_support = coopmat_support | ||||||
|  | #if defined(GGML_VULKAN_COOPMAT_GLSLC_SUPPORT) | ||||||
|                    && coopmat_features.cooperativeMatrix |                    && coopmat_features.cooperativeMatrix | ||||||
|  | #endif | ||||||
|                    && ggml_vk_khr_cooperative_matrix_support(props2.properties, driver_props, device_architecture); |                    && ggml_vk_khr_cooperative_matrix_support(props2.properties, driver_props, device_architecture); | ||||||
|  |  | ||||||
|     std::string matrix_cores = coopmat2_support ? "NV_coopmat2" : coopmat_support ? "KHR_coopmat" : "none"; |     std::string matrix_cores = coopmat2_support ? "NV_coopmat2" : coopmat_support ? "KHR_coopmat" : "none"; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Wagner Bruna
					Wagner Bruna