Skip to content

Conversation

tophyr
Copy link

@tophyr tophyr commented Jul 29, 2025

data_a is decorated with layout specifiers, so copying it causes the destination to receive those layout specifiers as well. this is illegal for function-local arrays. spirv accepts this code for compilation, but the resulting bytecode is against the rules so spirv-opt barfs.

For changes to the core ggml library (including to the CMake build system), please open a PR in https://github.com/ggml-org/llama.cpp. Doing so will make your PR more visible, better tested and more likely to be reviewed.

data_a is decorated with layout specifiers, so copying it causes the destination to receive those layout specifiers as well. this is illegal for function-local arrays. spirv accepts this code for compilation, but the resulting bytecode is against the rules so spirv-opt barfs.
tophyr added a commit to tophyr/vcpkg that referenced this pull request Jul 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant