Fix vulkan shader fp32 name
This commit is contained in:
parent
35b10d149f
commit
e90a6515dd
1 changed files with 1 additions and 1 deletions
|
@ -306,7 +306,7 @@ static vk_pipeline ggml_vk_create_pipeline_from_file(const std::string& name, co
|
||||||
std::cerr << "ggml_vk_create_pipeline_from_file(" << path << ", " << entrypoint << ", " << parameter_count << ", " << push_constant_size << ", (" << wg_denoms[0] << "," << wg_denoms[1] << "," << wg_denoms[2] << "), specialization_constants, " << align << ")" << std::endl;
|
std::cerr << "ggml_vk_create_pipeline_from_file(" << path << ", " << entrypoint << ", " << parameter_count << ", " << push_constant_size << ", (" << wg_denoms[0] << "," << wg_denoms[1] << "," << wg_denoms[2] << "), specialization_constants, " << align << ")" << std::endl;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
const std::string path = "vk_shaders/" + name + (vk_device.fp16 ? "" : "_f32") + ".comp";
|
const std::string path = "vk_shaders/" + name + (vk_device.fp16 ? "" : "_fp32") + ".comp";
|
||||||
|
|
||||||
std::vector<char> matmul_shader_contents;
|
std::vector<char> matmul_shader_contents;
|
||||||
if (std::ifstream shader_file{ path, std::ios::binary | std::ios::ate }) {
|
if (std::ifstream shader_file{ path, std::ios::binary | std::ios::ate }) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue