From e27fafa92dbbb207311445af26c2ca585d369120 Mon Sep 17 00:00:00 2001 From: Pattrick Hueper Date: Fri, 7 Nov 2025 12:55:28 +0100 Subject: [PATCH] add ROCm 7 preset copied from "ROCm 6" adapted for the supported hardware mentioned in ROCm 7.1.0 Release Notes --- CMakePresets.json | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/CMakePresets.json b/CMakePresets.json index 6fcdf4d25..6c21985ab 100644 --- a/CMakePresets.json +++ b/CMakePresets.json @@ -74,7 +74,16 @@ "cacheVariables": { "CMAKE_HIP_FLAGS": "-parallel-jobs=4", "AMDGPU_TARGETS": "gfx940;gfx941;gfx942;gfx1010;gfx1012;gfx1030;gfx1100;gfx1101;gfx1102;gfx1151;gfx1200;gfx1201;gfx908:xnack-;gfx90a:xnack+;gfx90a:xnack-", - "OLLAMA_RUNNER_DIR": "rocm" + "OLLAMA_RUNNER_DIR": "rocm_v6" + } + }, + { + "name": "ROCm 7", + "inherits": [ "ROCm" ], + "cacheVariables": { + "CMAKE_HIP_FLAGS": "-parallel-jobs=4", + "AMDGPU_TARGETS": "gfx942;gfx950;gfx1030;gfx1100;gfx1101;gfx1102;gfx1151;gfx1200;gfx1201;gfx908:xnack-;gfx90a:xnack+;gfx90a:xnack-", + "OLLAMA_RUNNER_DIR": "rocm_v7" } }, { @@ -136,6 +145,11 @@ "inherits": [ "ROCm" ], "configurePreset": "ROCm 6" }, + { + "name": "ROCm 7", + "inherits": [ "ROCm" ], + "configurePreset": "ROCm 7" + }, { "name": "Vulkan", "targets": [ "ggml-vulkan" ],