mirror of
https://github.com/ROCm/composable_kernel.git
synced 2026-04-20 14:59:17 +00:00
Add CMakePresets.json (#3284)
Co-authored-by: Illia Silin <98187287+illsilin@users.noreply.github.com>
This commit is contained in:
91
CMakePresets.json
Normal file
91
CMakePresets.json
Normal file
@@ -0,0 +1,91 @@
|
||||
{
|
||||
"version": 3,
|
||||
"cmakeMinimumRequired": {
|
||||
"major": 3,
|
||||
"minor": 21,
|
||||
"patch": 0
|
||||
},
|
||||
"configurePresets": [
|
||||
{
|
||||
"name": "use-gfx908",
|
||||
"hidden": true,
|
||||
"cacheVariables": {
|
||||
"GPU_TARGETS": "gfx908"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "use-gfx90a",
|
||||
"hidden": true,
|
||||
"cacheVariables": {
|
||||
"GPU_TARGETS": "gfx90a"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "use-gfx942",
|
||||
"hidden": true,
|
||||
"cacheVariables": {
|
||||
"GPU_TARGETS": "gfx942"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "use-gfx950",
|
||||
"hidden": true,
|
||||
"cacheVariables": {
|
||||
"GPU_TARGETS": "gfx950"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "dev",
|
||||
"binaryDir": "${sourceDir}/build",
|
||||
"displayName": "CK Dev",
|
||||
"environment": {},
|
||||
"cacheVariables": {
|
||||
"CMAKE_PREFIX_PATH": "/opt/rocm/",
|
||||
"CMAKE_CXX_COMPILER": "/opt/rocm/llvm/bin/clang++",
|
||||
"CMAKE_HIP_COMPILER": "/opt/rocm/llvm/bin/clang++",
|
||||
"CMAKE_CXX_FLAGS": "-ftemplate-backtrace-limit=0 -fPIE -Wno-gnu-line-marker -fbracket-depth=512",
|
||||
"CMAKE_BUILD_TYPE": "Release",
|
||||
"BUILD_DEV": "ON",
|
||||
"CMAKE_VERBOSE_MAKEFILE": "ON",
|
||||
"USE_BITINT_EXTENSION_INT4": "OFF",
|
||||
"GPU_TARGETS": "gfx908;gfx90a;gfx942"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "dev-gfx908",
|
||||
"displayName": "CK Dev - gfx908",
|
||||
"description": "Development build for AMD GPU gfx908",
|
||||
"inherits": [
|
||||
"use-gfx908",
|
||||
"dev"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "dev-gfx90a",
|
||||
"displayName": "CK Dev - gfx90a",
|
||||
"description": "Development build for AMD GPU gfx90a",
|
||||
"inherits": [
|
||||
"use-gfx90a",
|
||||
"dev"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "dev-gfx942",
|
||||
"displayName": "CK Dev - gfx942",
|
||||
"description": "Development build for AMD GPU gfx942",
|
||||
"inherits": [
|
||||
"use-gfx942",
|
||||
"dev"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "dev-gfx950",
|
||||
"displayName": "CK Dev - gfx950",
|
||||
"description": "Development build for AMD GPU gfx950",
|
||||
"inherits": [
|
||||
"use-gfx950",
|
||||
"dev"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user