We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5545231 commit a4c329bCopy full SHA for a4c329b
ggml/src/ggml-vulkan/ggml-vulkan.cpp
@@ -4486,7 +4486,11 @@ static void ggml_vk_instance_init() {
4486
vk_instance.pfn_vkCmdInsertDebugUtilsLabelEXT = (PFN_vkCmdInsertDebugUtilsLabelEXT) vkGetInstanceProcAddr(vk_instance.instance, "vkCmdInsertDebugUtilsLabelEXT");
4487
}
4488
4489
+#ifndef FORCE_GGML_VK_PERF_LOGGER
4490
vk_perf_logger_enabled = getenv("GGML_VK_PERF_LOGGER") != nullptr;
4491
+#else
4492
+ vk_perf_logger_enabled = true;
4493
+#endif
4494
4495
std::vector<vk::PhysicalDevice> devices = vk_instance.instance.enumeratePhysicalDevices();
4496
0 commit comments