mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-05-27 19:41:50 +02:00
a6306eb0bc
* gnu/packages/llvm.scm (%rocm-llvm-version): New variable. (make-llvm-rocm): New procedure. (llvm-rocm): New variable. (make-clang-runtime-rocm): New procedure. (clang-runtime-rocm): New variable. (make-clang-rocm): New procedure. (clang-rocm): New variable. (rocm-device-libs): New variable. (rocm-comgr): New variable. (rocm-hipcc): New variable. (make-lld-rocm): New procedure. (lld-rocm): New variable. * gnu/packages/rocm.scm: Add perl to imports. (%rocm-version): Update to 7.1.0. (%rocm-systems-url, %rocm-systems-origin): New variables. (rocr-runtime): Use %rocm-systems-origin and update build. (rocm-opencl-runtime): Use %rocm-systems-origin and update build. (rocm-hip-runtime): New variable. (rocminfo): Use %rocm-systems-origin and update build. (%default-amdgpu-targets, %default-amdgpu-targets-property): New variables. (%amdgpu-targets): New syntax. (rocm-bandwidth-test): Update and add comprehensive build support. * gnu/local.mk: Add rocm-bandwidth-test patches. * gnu/packages/patches/rocm-bandwidth-test-fix-external-packages-search.patch, gnu/packages/patches/rocm-bandwidth-test-fix-hsa-include-file-lookup.patch, gnu/packages/patches/rocm-bandwidth-test-take-default-gpus-from-environment.patch: New files. * gnu/packages/patches/rocclr-5.6.0-enable-gfx800.patch, gnu/packages/patches/rocm-opencl-runtime-4.3-noclinfo.patch: Update patch paths. Change-Id: I43f162b9f8ab898e25d8ecbe4ea30be84a29eb0d Signed-off-by: Ludovic Courtès <ludo@gnu.org> Signed-off-by: Rutherther <rutherther@ditigal.xyz>
31 lines
1.0 KiB
Diff
31 lines
1.0 KiB
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/projects/clr/rocclr/device/device.hpp
|
|
+++ b/projects/clr/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_;
|
|
}
|