~ruther/guix-local

ref: 64668f7c15fa639831209f25e313c99a1047de7b guix-local/gnu/packages/patches/rocclr-5.6.0-enable-gfx800.patch -rw-r--r-- 1003 bytes
64668f7c — Rutherther etc: release: Add spare space to the release VM image. a month ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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_;
   }