Skip to content

Commit 2e0ec6c

Browse files
committed
final
0 parents  commit 2e0ec6c

File tree

8 files changed

+491
-0
lines changed

8 files changed

+491
-0
lines changed

.vscode/c_cpp_properties.json

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"configurations": [
3+
{
4+
"name": "windows-gcc-x64",
5+
"includePath": [
6+
"${workspaceFolder}/**",
7+
"C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v13.0/include"
8+
],
9+
"compilerPath": "C:/msys64/ucrt64/bin/gcc.exe",
10+
"cStandard": "${default}",
11+
"cppStandard": "${default}",
12+
"intelliSenseMode": "windows-gcc-x64",
13+
"compilerArgs": [
14+
""
15+
]
16+
}
17+
],
18+
"version": 4
19+
}

.vscode/launch.json

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"version": "0.2.0",
3+
"configurations": [
4+
{
5+
"name": "C/C++ Runner: Debug Session",
6+
"type": "cppdbg",
7+
"request": "launch",
8+
"args": [],
9+
"stopAtEntry": false,
10+
"externalConsole": true,
11+
"cwd": "c:/Users/Jing/Desktop/windev/cuda",
12+
"program": "c:/Users/Jing/Desktop/windev/cuda/build/Debug/outDebug",
13+
"MIMode": "gdb",
14+
"miDebuggerPath": "gdb",
15+
"setupCommands": [
16+
{
17+
"description": "Enable pretty-printing for gdb",
18+
"text": "-enable-pretty-printing",
19+
"ignoreFailures": true
20+
}
21+
]
22+
}
23+
]
24+
}

.vscode/settings.json

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
{
2+
"C_Cpp_Runner.cCompilerPath": "gcc",
3+
"C_Cpp_Runner.cppCompilerPath": "g++",
4+
"C_Cpp_Runner.debuggerPath": "gdb",
5+
"C_Cpp_Runner.cStandard": "",
6+
"C_Cpp_Runner.cppStandard": "",
7+
"C_Cpp_Runner.msvcBatchPath": "C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Auxiliary/Build/vcvarsall.bat",
8+
"C_Cpp_Runner.useMsvc": false,
9+
"C_Cpp_Runner.warnings": [
10+
"-Wall",
11+
"-Wextra",
12+
"-Wpedantic",
13+
"-Wshadow",
14+
"-Wformat=2",
15+
"-Wcast-align",
16+
"-Wconversion",
17+
"-Wsign-conversion",
18+
"-Wnull-dereference"
19+
],
20+
"C_Cpp_Runner.msvcWarnings": [
21+
"/W4",
22+
"/permissive-",
23+
"/w14242",
24+
"/w14287",
25+
"/w14296",
26+
"/w14311",
27+
"/w14826",
28+
"/w44062",
29+
"/w44242",
30+
"/w14905",
31+
"/w14906",
32+
"/w14263",
33+
"/w44265",
34+
"/w14928"
35+
],
36+
"C_Cpp_Runner.enableWarnings": true,
37+
"C_Cpp_Runner.warningsAsError": false,
38+
"C_Cpp_Runner.compilerArgs": [],
39+
"C_Cpp_Runner.linkerArgs": [],
40+
"C_Cpp_Runner.includePaths": [],
41+
"C_Cpp_Runner.includeSearch": [
42+
"*",
43+
"**/*"
44+
],
45+
"C_Cpp_Runner.excludeSearch": [
46+
"**/build",
47+
"**/build/**",
48+
"**/.*",
49+
"**/.*/**",
50+
"**/.vscode",
51+
"**/.vscode/**"
52+
],
53+
"clangd.arguments": [
54+
"--target=x86_64-pc-windows-msvc",
55+
"--driver-mode=cl",
56+
"--query-driver=C:\\Program Files\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\**\\bin\\Hostx64\\x64\\cl.exe;C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v13.0\\bin\\nvcc.exe;C:\\msys64\\ucrt64\\bin\\gcc.exe",
57+
"--cuda-path=C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v13.0",
58+
"--cuda-gpu-arch=sm_90"
59+
],
60+
"clangd.fallbackFlags": [
61+
"-xcuda",
62+
"-std=c++17",
63+
"-isystem",
64+
"C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v13.0/include"
65+
],
66+
"C_Cpp_Runner.useAddressSanitizer": false,
67+
"C_Cpp_Runner.useUndefinedSanitizer": false,
68+
"C_Cpp_Runner.useLeakSanitizer": false,
69+
"C_Cpp_Runner.showCompilationTime": false,
70+
"C_Cpp_Runner.useLinkTimeOptimization": false,
71+
"C_Cpp_Runner.msvcSecureNoWarnings": false
72+
}

0 commit comments

Comments
 (0)