-
Notifications
You must be signed in to change notification settings - Fork 123
Expand file tree
/
Copy pathconfig.yaml
More file actions
78 lines (77 loc) · 1.81 KB
/
Copy pathconfig.yaml
File metadata and controls
78 lines (77 loc) · 1.81 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
CompileFlags:
Add:
- "-ferror-limit=0"
Hover:
ShowAKA: No
InlayHints:
TypeNameLimit: 24
Diagnostics:
Suppress:
- "variadic_device_fn"
- "attributes_not_allowed"
---
If:
PathMatch: .*\.cuh
CompileFlags:
Add:
- --cuda-path=/usr/local/cuda
- --cuda-gpu-arch=sm_90
- -I/usr/local/cuda/include
- "-xcuda"
- --std=c++17
- "-D__INTELLISENSE__"
- "-D__CLANGD__"
- "-DCUDA_12_0_SM90_FEATURES_SUPPORTED"
- "-DCUTLASS_ARCH_MMA_SM90_SUPPORTED=1"
- "-D_LIBCUDACXX_STD_VER=12"
- "-D__CUDACC_VER_MAJOR__=12"
- "-D__CUDACC_VER_MINOR__=9"
- "-D__CUDA_ARCH__=900"
- "-D__CUDA_ARCH_FEAT_SM90_ALL"
- "-Wno-invalid-constexpr"
Remove:
- "-Xcudafe"
- "--diag_suppress*"
- "-Xcompiler=-fPIC"
- "-Xfatbin*"
- "-gencode*"
- "--generate-code*"
- "-ccbin*"
- "--compiler-options*"
- "--expt-extended-lambda"
- "--expt-relaxed-constexpr"
- "-forward-unknown-to-host-compiler"
- "-Werror=cross-execution-space-call"
---
If:
PathMatch: .*\.cu
CompileFlags:
Add:
- --cuda-path=/usr/local/cuda
- --cuda-gpu-arch=sm_90
- -I/usr/local/cuda/include
- "-xcuda"
- --std=c++17
- "-D__INTELLISENSE__"
- "-D__CLANGD__"
- "-DCUDA_12_0_SM90_FEATURES_SUPPORTED"
- "-DCUTLASS_ARCH_MMA_SM90_SUPPORTED=1"
- "-D_LIBCUDACXX_STD_VER=12"
- "-D__CUDACC_VER_MAJOR__=12"
- "-D__CUDACC_VER_MINOR__=9"
- "-D__CUDA_ARCH__=900"
- "-D__CUDA_ARCH_FEAT_SM90_ALL"
- "-Wno-invalid-constexpr"
Remove:
- "-Xcudafe"
- "--diag_suppress*"
- "-Xcompiler=-fPIC"
- "-Xfatbin*"
- "-gencode*"
- "--generate-code*"
- "-ccbin*"
- "--compiler-options*"
- "--expt-extended-lambda"
- "--expt-relaxed-constexpr"
- "-forward-unknown-to-host-compiler"
- "-Werror=cross-execution-space-call"