-
Notifications
You must be signed in to change notification settings - Fork 324
Expand file tree
/
Copy pathCMakePresets.json
More file actions
158 lines (158 loc) · 5.74 KB
/
Copy pathCMakePresets.json
File metadata and controls
158 lines (158 loc) · 5.74 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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
{
"version": 6,
"cmakeMinimumRequired": {
"major": 3,
"minor": 25,
"patch": 2
},
"configurePresets": [
{
"name": "default:release",
"description": "Configure release build with installation to /opt/rocm",
"toolchainFile": "${sourceDir}/cmake/toolchains/rocm-clang.cmake",
"binaryDir": "${sourceDir}/build",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release",
"CMAKE_INSTALL_PREFIX": "/opt/rocm"
}
},
{
"name": "mxdatagenerator",
"inherits": ["default:release"],
"cacheVariables": {
"ROCM_LIBS_ENABLE_COMPONENTS": "mxdatagenerator"
}
},
{
"name": "rocroller",
"inherits": ["default:release"],
"cacheVariables": {
"ROCM_LIBS_ENABLE_COMPONENTS": "mxdatagenerator;rocroller"
}
},
{
"name": "origami",
"inherits": ["default:release"],
"cacheVariables": {
"ROCM_LIBS_ENABLE_COMPONENTS": "origami"
}
},
{
"name": "hipblaslt",
"inherits": ["default:release"],
"cacheVariables": {
"ROCM_LIBS_ENABLE_COMPONENTS": "mxdatagenerator;rocroller;origami;hipblas-common;hipblaslt"
}
},
{
"name": "rocprim",
"inherits": ["default:release"],
"cacheVariables": {
"ROCM_LIBS_ENABLE_COMPONENTS": "rocprim"
}
},
{
"name": "rocrand",
"inherits": ["default:release"],
"cacheVariables": {
"ROCM_LIBS_ENABLE_COMPONENTS": "rocrand"
}
},
{
"name": "hipdnn",
"description": "Build hipdnn only",
"inherits": ["default:release"],
"cacheVariables": {
"ROCM_LIBS_ENABLE_COMPONENTS": "hipdnn"
}
},
{
"name": "miopen",
"description": "Build miopen only",
"inherits": ["default:release"],
"cacheVariables": {
"ROCM_LIBS_ENABLE_COMPONENTS": "miopen"
}
},
{
"name": "miopen-with-provider",
"description": "Build miopen, hipdnn, hipdnn-integration-tests, and miopen-provider; provider links the in-tree MIOpen target",
"inherits": ["default:release"],
"cacheVariables": {
"ROCM_LIBS_ENABLE_COMPONENTS": "miopen;hipdnn;hipdnn-integration-tests;miopen-provider"
}
},
{
"name": "hipdnn-integration-tests",
"description": "Build hipdnn and hipdnn-integration-tests",
"inherits": ["default:release"],
"cacheVariables": {
"ROCM_LIBS_ENABLE_COMPONENTS": "hipdnn;hipdnn-integration-tests"
}
},
{
"name": "hipdnn-providers",
"description": "Build hipdnn, all supported providers, and integration tests",
"inherits": ["default:release"],
"cacheVariables": {
"ROCM_LIBS_ENABLE_COMPONENTS": "hipdnn;hipdnn-integration-tests;miopen-provider;hipblaslt-provider"
}
},
{
"name": "hipdnn-providers-all",
"description": "Build hipdnn, all providers including some unsupported providers, and integration tests",
"inherits": ["default:release"],
"cacheVariables": {
"ROCM_LIBS_ENABLE_COMPONENTS": "hipdnn;hipdnn-integration-tests;miopen-provider;hipblaslt-provider;hip-kernel-provider"
}
},
{
"name": "miopen-provider",
"description": "Build hipdnn, miopen-provider and integration tests",
"inherits": ["default:release"],
"cacheVariables": {
"ROCM_LIBS_ENABLE_COMPONENTS": "hipdnn;hipdnn-integration-tests;miopen-provider"
}
},
{
"name": "hipblaslt-provider",
"description": "Build hipdnn, hipblaslt-provider and integration tests",
"inherits": ["default:release"],
"cacheVariables": {
"ROCM_LIBS_ENABLE_COMPONENTS": "hipdnn;hipdnn-integration-tests;hipblaslt-provider"
}
},
{
"name": "hip-kernel-provider",
"description": "Build hipdnn, hip-kernel-provider and integration tests",
"inherits": ["default:release"],
"cacheVariables": {
"ROCM_LIBS_ENABLE_COMPONENTS": "hipdnn;hipdnn-integration-tests;hip-kernel-provider"
}
},
{
"name": "hipdnn-samples",
"description": "Build hipdnn, all supported providers, integration tests, and samples",
"inherits": ["default:release"],
"cacheVariables": {
"ROCM_LIBS_ENABLE_COMPONENTS": "hipdnn;hipdnn-integration-tests;miopen-provider;hipblaslt-provider;hipdnn-samples"
}
},
{
"name": "hipdnn-dev-all",
"description": "Build hipdnn, all providers (including some unsupported), integration tests, and samples",
"inherits": ["default:release"],
"cacheVariables": {
"ROCM_LIBS_ENABLE_COMPONENTS": "hipdnn;hipdnn-integration-tests;miopen-provider;hipblaslt-provider;hip-kernel-provider;hipdnn-samples"
}
}
],
"buildPresets": [
{
"name": "default",
"displayName": "Default build preset",
"description": "Build using the default preset",
"configurePreset": "default:release"
}
]
}