Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ggml: fix build error when enable GGML_VULKAN_DEBUG #9332

Closed
wants to merge 1 commit into from

Conversation

xvim
Copy link

@xvim xvim commented Sep 6, 2024

llama.cpp/ggml/src/ggml-vulkan.cpp:2483:26: error: no match for ‘operator<<’ (operand types are ‘std::basic_ostream’ and ‘const vk::DescriptorBufferInfo’)
2483 | std::cerr << "(" << buffer << ", " << buffer.offset << ", " << buffer.size << "), ";
| ~~~~~~~~~~~~~~~~ ^~ ~~~~~~
| | |
| | const vk::DescriptorBufferInfo
| std::basic_ostream
llama.cpp/ggml/src/ggml-vulkan.cpp:61:40: note: in definition of macro ‘VK_LOG_DEBUG’

llama.cpp/ggml/src/ggml-vulkan.cpp:2483:26: error: no match for ‘operator<<’ (operand types are ‘std::basic_ostream<char>’ and ‘const vk::DescriptorBufferInfo’)
 2483 |         std::cerr << "(" << buffer << ", " << buffer.offset << ", " << buffer.size << "), ";
      |         ~~~~~~~~~~~~~~~~ ^~ ~~~~~~
      |                   |         |
      |                   |         const vk::DescriptorBufferInfo
      |                   std::basic_ostream<char>
llama.cpp/ggml/src/ggml-vulkan.cpp:61:40: note: in definition of macro ‘VK_LOG_DEBUG’

Signed-off-by: Cong Liu <[email protected]>
@github-actions github-actions bot added Vulkan Issues specific to the Vulkan backend ggml changes relating to the ggml tensor library for machine learning labels Sep 6, 2024
@cyzero-kim
Copy link
Contributor

This is the same pull-request I made a few days ago. : #9265

@ggerganov
Copy link
Owner

Merged #9265

@ggerganov ggerganov closed this Sep 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ggml changes relating to the ggml tensor library for machine learning Vulkan Issues specific to the Vulkan backend
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants