File tree Expand file tree Collapse file tree 1 file changed +4
-8
lines changed
Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change 11# https://clangd.llvm.org/config
22
3- # Apply a config conditionally to all C files
4- If :
5- PathMatch : .*\.(c|h)$
6-
7- ---
8-
93# Apply a config conditionally to all C++ files except those in the
104# include/execpools directory which need platform-dependent headers
115If :
1711# Apply a config conditionally to all CUDA files
1812If :
1913 PathMatch : .*\.cuh?$
14+ PathExclude : examples/nvexec/.*
2015CompileFlags :
2116 Add :
2217 # Allow variadic CUDA functions
23- - " -Xclang=- fcuda-allow-variadic-functions"
18+ - " -fcuda-allow-variadic-functions"
2419
2520---
2621
@@ -35,14 +30,15 @@ CompileFlags:
3530
3631# Use clang++ in CUDA mode to provide intellisense for files with `nvexec` in their path
3732If :
38- PathMatch : ( include|examples| test) /nvexec.*
33+ PathMatch : [ include/nvexec/.*, test/nvexec/.*]
3934CompileFlags :
4035 Compiler : clang++
4136 Add :
4237 - " -x"
4338 - " cuda"
4439 - " -std=gnu++20"
4540 - " -Wno-unknown-cuda-version"
41+ - " --cuda-host-only"
4642
4743---
4844
You can’t perform that action at this time.
0 commit comments