mirror of
https://github.com/deepseek-ai/DeepGEMM.git
synced 2026-11-05 00:47:26 +00:00
[GH-ISSUE #358] [Feature request] Documented clangd setup for CUDA kernel indexing #169
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
deepseek-ai/DeepGEMM#169
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Rachmanino on GitHub (Jun 12, 2026).
Original GitHub issue: https://github.com/deepseek-ai/DeepGEMM/issues/358
DeepGEMM already has a CMake path intended for IDE indexing, but clangd setup is currently not straightforward for CUDA headers.
In my local setup I needed:
build-clangddirectory withCMAKE_EXPORT_COMPILE_COMMANDS=ONpybind11/Torch CMake prefixes passed explicitly.clangdCUDA flags for.cuhfiles, e.g.-x cuda,--cuda-gpu-arch=sm_100,--cuda-path=...Would the project be open to adding either:
scripts/configure_clangd.sh, or.clangd.example?The goal would be reliable navigation/indexing for kernel development, not necessarily zero clang diagnostics for all CUDA intrinsics.