diff options
Diffstat (limited to 'dev-libs/rocm-comgr/files/rocm-comgr-5.5.1-fix-tests.patch')
-rw-r--r-- | dev-libs/rocm-comgr/files/rocm-comgr-5.5.1-fix-tests.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/dev-libs/rocm-comgr/files/rocm-comgr-5.5.1-fix-tests.patch b/dev-libs/rocm-comgr/files/rocm-comgr-5.5.1-fix-tests.patch new file mode 100644 index 000000000000..9fd14df196a2 --- /dev/null +++ b/dev-libs/rocm-comgr/files/rocm-comgr-5.5.1-fix-tests.patch @@ -0,0 +1,17 @@ +Vanilla LLVM does not support calling AMDGPU_KERNEL across different sources/bitcodes. +Without this patch https://github.com/RadeonOpenCompute/ROCm-CompilerSupport/issues/45 occurs. +Reference: https://github.com/llvm/llvm-project/issues/60313 +=================================================================== +--- comgr.orig/test/source/source1.cl ++++ comgr/test/source/source1.cl +@@ -35,7 +35,9 @@ + + #include "include-a.h" + ++void kernel source3(__global int *j) { *j = FOO; } ++ + void kernel source1(__global int *j) { + *j += 2; +- source2(j); ++ source3(j); + } |