mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
This commit updates all of the ROCm packages, including llvm-for-rocm, to the latest version, 6.4.2. An exception is roct-thunk-interface which is deprecated upstream, but unclear what the replacement is. It does build from the last version, 6.2.4, which is what it is updated to here. Several packages are now in the same repository as the ROCm LLVM fork, so they share the same origin (repeated in (gnu packages rocm) from llvm-for-rocm in (gnu packages llvm) as using package-source did not resolve). * gnu/packages/llvm.scm (llvm-for-rocm): Update to 6.4.2. Inherit from llvm-19. [source]: Update URL. [arguments]: Correct spacing of configure-flags. * gnu/packages/patches/rocclr-5.6.0-enable-gfx800.patch, gnu/packages/patches/rocm-opencl-runtime-4.3-noclinfo.patch: Update. * gnu/packages/patches/rocm-bandwidth-test-5.5.0-fix-includes.patch, gnu/packages/patches/rocm-comgr-3.1.0-dependencies.patch: Remove files. * gnu/packages/rocm.scm (%rocm-version): Update to 6.4.2. (%rocm-llvm-origin): New variable. (rocm-cmake)[home-page]: Update. (rocm-device-libs)[source]: Use %rocm-llvm-origin. [arguments]: Add build-type. Add chdir phase. [home-page]: Update. (rocm-comgr)[source]: Use %rocm-llvm-origin. Remove patch. [arguments]: Add build-type. Rename chdir phase to prepare-to build, setting ROCM_PATH. [inputs]: Move llvm-for-rocm from here ... [native-inputs]: ... to here. Add python. [home-page]: Update. (roct-thunk-interface): Update to 6.2.4. [source, home-page]: Update URL. (rocr-runtime)[source]: Update URL. [arguments]: Add build-type. Update and simplify add-rocm-device-lib-path phase. [inputs]: Change libelf to libelf-shared. [home-page]: Update. (rocclr-src): Remove variable. (rocm-opencl-runtime)[home-page]: Update. [source]{patches}: Add patch (that was in rocclr-src before). [arguments]: Add build-type. Update configure-flags. Add no-os-release phase. (rocminfo)[source, home-page]: Update URL. (rocm-bandwidth-test)[source]: Update URL. Remove patch. [home-page]: Update. * gnu/local.mk (dist_patch_DATA): Remove patches. Change-Id: I2157255a9546110ac683c12c131a330402e2fd93 Signed-off-by: Danny Milosavljevic <dannym@friendly-machines.com>
30 lines
1,003 B
Diff
30 lines
1,003 B
Diff
See <https://github.com/ROCm/clr/pull/97>.
|
|
|
|
From 909fa3dcb644f7ca422ed1a980a54ac426d831b1 Mon Sep 17 00:00:00 2001
|
|
From: Jeremy Newton <Jeremy.Newton@amd.com>
|
|
Date: Fri, 27 Sep 2024 13:29:12 -0400
|
|
Subject: [PATCH] Fix gfx8 opencl
|
|
|
|
This condition was added when we supported PAL openCL on gfx8, but when
|
|
ROC_ENABLE_PRE_VEGA was dropped and PAL OpenCL on Linux was deprecated,
|
|
this logic should have been dropped completely.
|
|
|
|
Change-Id: I0a68ef4723d9ebde7d958c58dbb0b6991f69d817
|
|
Signed-off-by: Jeremy Newton <Jeremy.Newton@amd.com>
|
|
---
|
|
rocclr/device/device.hpp | 3 ---
|
|
1 file changed, 3 deletions(-)
|
|
|
|
diff --git a/rocclr/device/device.hpp b/rocclr/device/device.hpp
|
|
index ef82630325..6409cebc90 100644
|
|
--- a/rocclr/device/device.hpp
|
|
+++ b/rocclr/device/device.hpp
|
|
@@ -1431,8 +1431,5 @@ class Isa {
|
|
|
|
/// @returns If the ROCm runtime supports the ISA.
|
|
bool runtimeRocSupported() const {
|
|
- if (!IS_HIP && (versionMajor_ == 8)) {
|
|
- return false;
|
|
- }
|
|
return runtimeRocSupported_;
|
|
}
|