-
Notifications
You must be signed in to change notification settings - Fork 76
Expand file tree
/
Copy pathCMakePresets.json
More file actions
87 lines (87 loc) · 1.89 KB
/
Copy pathCMakePresets.json
File metadata and controls
87 lines (87 loc) · 1.89 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
79
80
81
82
83
84
85
86
87
{
"version": 3,
"configurePresets": [
{
"name": "default",
"binaryDir": "${sourceDir}/build-with-${presetName}",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release",
"CMAKE_CXX_STANDARD": "20",
"CMAKE_CXX_FLAGS": "-Wall -Wextra -Werror",
"KokkosTools_ENABLE_EXAMPLES": "ON",
"KokkosTools_ENABLE_SINGLE": "ON",
"KokkosTools_ENABLE_MPI": "ON",
"KokkosTools_ENABLE_PAPI": "ON",
"KokkosTools_ENABLE_TESTS": "ON"
}
},
{
"name": "OpenMP",
"inherits": "default"
},
{
"name": "Cuda",
"inherits": "default",
"cacheVariables": {
"CMAKE_CXX_COMPILER": "$env{Kokkos_ROOT}/bin/nvcc_wrapper"
}
},
{
"name": "ROCm",
"inherits": "default",
"environment": {
"ROCM_PATH": "/opt/rocm"
},
"cacheVariables": {
"CMAKE_CXX_COMPILER": "hipcc",
"CMAKE_PREFIX_PATH": "/opt/rocm"
}
}
],
"buildPresets": [
{
"name": "OpenMP",
"configurePreset": "OpenMP",
"inheritConfigureEnvironment": true
},
{
"name": "Cuda",
"configurePreset": "Cuda",
"inheritConfigureEnvironment": true
},
{
"name": "ROCm",
"configurePreset": "ROCm",
"inheritConfigureEnvironment": true
}
],
"testPresets": [
{
"name": "default",
"configurePreset": "default",
"inheritConfigureEnvironment": true,
"output": {
"outputOnFailure": true
},
"execution": {
"noTestsAction": "error",
"stopOnFailure": false
}
},
{
"name": "OpenMP",
"configurePreset": "OpenMP",
"inherits": "default"
},
{
"name": "Cuda",
"configurePreset": "Cuda",
"inherits": "default"
},
{
"name": "ROCm",
"configurePreset": "ROCm",
"inherits": "default"
}
]
}