{ "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" } ] }