Skip to content

Commit 75e6480

Browse files
committed
[Libomptarget] Disable AMDGPU complex math test after recent patch
Summary: The recent patch added `-nogpulib` to make these tests only pick up what was intentionally put into them. This had the effect of removing the dependency on the ROCm device libs which are needed for math. This test disables the complex math test, which is the only one that needed it, for the time being. In the future we will implement these and provide it via the GPU `libm` and pass it in the same way as the GPU `libc`.
1 parent b6f2919 commit 75e6480

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

openmp/libomptarget/test/offloading/std_complex_arithmetic.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
// RUN: %libomptarget-compilexx-generic -O3 -ffast-math && \
44
// RUN: %libomptarget-run-generic
55

6+
// FIXME: This fails to link due to missing math symbols. We should provide the
7+
// needed math functions in the GPU `libm` and require the GPU C library.
8+
// UNSUPPORTED: amdgcn-amd-amdhsa
9+
610
#include <cassert>
711
#include <complex>
812
#include <iostream>

0 commit comments

Comments
 (0)