Skip to content

Commit fad942b

Browse files
committed
Fix Vulkan debug build error
1 parent 0a321fc commit fad942b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ggml-vulkan.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2037,7 +2037,7 @@ void ggml_vk_instance_init() {
20372037

20382038
static void ggml_vk_init(ggml_backend_vk_context * ctx, size_t idx) {
20392039
GGML_ASSERT(idx < vk_instance.device_indices.size());
2040-
VK_LOG_DEBUG("ggml_vk_init(" << ctx->name << ", " << dev_num << ")");
2040+
VK_LOG_DEBUG("ggml_vk_init(" << ctx->name << ", " << idx << ")");
20412041
ggml_vk_instance_init();
20422042

20432043
ctx->name = GGML_VK_NAME + std::to_string(idx);

0 commit comments

Comments
 (0)