Public bug reported:

Whenever running tests for the miopen package multiple instances fail
with the same behavior:

```
[ RUN      ] Full/GPU_TernaryTensorOps_FP64.TestDouble/2006
In file included from <built-in>:1:
In file included from 
/usr/lib/llvm-21/lib/clang/21/include/__clang_hip_runtime_wrapper.h:111:
In file included from 
/usr/lib/llvm-21/lib/clang/21/include/cuda_wrappers/cmath:28:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/cmath:55:15: fatal 
error: 'math.h' file not found
   55 | #include_next <math.h>
      |               ^~~~~~~~
1 error generated when compiling for gfx1151.
unknown file: Failure
C++ exception with description "src/hip/hip_build_utils.cpp:185: Failed cmd: 
'/usr/bin/clang++-21', args: '-DMIOPEN_TYPE=double -DMIOPEN_TENSOR_OP=miopenMin 
-DDIM_TYPE=uint32_t -DUSE_2D_TENSOR_GENERIC  -Wno-everything --std=c++17 
--cuda-gpu-arch=gfx1151 --cuda-device-only -c -O3  
-Wno-unused-command-line-argument -I. -x hip -isystem /usr/include 
-D__HIP_PLATFORM_AMD__=1 -DUSE_PROF_API=1 -isystem /usr/include --hip-link 
-fno-offload-uniform-block -DHIP_PACKAGE_VERSION_FLAT=7001052801 
MIOpenTensorKernelsHip.cpp -o 
/tmp/miopen-MIOpenTensorKernelsHip.cpp-c386-a2ea-e894-5438/MIOpenTensorKernelsHip.cpp.o'"
 thrown in the test body.

[  FAILED  ] Full/GPU_TernaryTensorOps_FP64.TestDouble/2006, where GetParam() = 
176-byte object <70-F4 F9-38 83-58 00-00 80-F4 F9-38 83-58 00-00 80-F4 F9-38 
83-58 00-00 90-69 03-39 83-58 00-00 A0-69 03-39 83-58 00-00 A0-69 03-39 83-58 
00-00 B0-E3 05-39 83-58 00-00 C8-E3 05-39 83-58 00-00 ... 68-22 83-38 83-58 
00-00 90-1F 83-38 83-58 00-00 B8-1F 83-38 83-58 00-00 B8-1F 83-38 83-58 00-00 
A0-4D 04-39 83-58 00-00 AC-4D 04-39 83-58 00-00 AC-4D 04-39 83-58 00-00 00-00 
00-00 02-00 00-00> (282 ms)
[ RUN      ] Full/GPU_TernaryTensorOps_FP64.TestDouble/2007
In file included from <built-in>:1:
In file included from 
/usr/lib/llvm-21/lib/clang/21/include/__clang_hip_runtime_wrapper.h:111:
In file included from 
/usr/lib/llvm-21/lib/clang/21/include/cuda_wrappers/cmath:28:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/cmath:55:15: fatal 
error: 'math.h' file not found
   55 | #include_next <math.h>
```

** Affects: miopen (Ubuntu)
     Importance: Undecided
     Assignee: Bruno Bernardo de Moura (bruno-bdmoura)
         Status: New

** Changed in: miopen (Ubuntu)
     Assignee: (unassigned) => Bruno Bernardo de Moura (bruno-bdmoura)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2147985

Title:
  math.h not found by #include_next on 7.1.0

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/miopen/+bug/2147985/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to