Open
Description
leandro@Zephyrus:~/llvm-project$ ./build/runtimes/runtimes-bins/offload/unittests/OffloadAPI/device.unittests
[==========] Running 22 tests from 3 test suites.
[----------] Global test environment set-up.
[----------] 2 tests from olIterateDevicesTest
[ RUN ] olIterateDevicesTest.SuccessEmptyCallback
[ OK ] olIterateDevicesTest.SuccessEmptyCallback (0 ms)
[ RUN ] olIterateDevicesTest.SuccessGetDevice
[ OK ] olIterateDevicesTest.SuccessGetDevice (0 ms)
[----------] 2 tests from olIterateDevicesTest (0 ms total)
[----------] 12 tests from olGetDeviceInfoTest
[ RUN ] olGetDeviceInfoTest.SuccessType/CUDA___F__V
[ OK ] olGetDeviceInfoTest.SuccessType/CUDA___F__V (0 ms)
[ RUN ] olGetDeviceInfoTest.HostSuccessType/CUDA___F__V
[ OK ] olGetDeviceInfoTest.HostSuccessType/CUDA___F__V (0 ms)
[ RUN ] olGetDeviceInfoTest.SuccessPlatform/CUDA___F__V
[ OK ] olGetDeviceInfoTest.SuccessPlatform/CUDA___F__V (0 ms)
[ RUN ] olGetDeviceInfoTest.SuccessName/CUDA___F__V
[ OK ] olGetDeviceInfoTest.SuccessName/CUDA___F__V (0 ms)
[ RUN ] olGetDeviceInfoTest.HostName/CUDA___F__V
[ OK ] olGetDeviceInfoTest.HostName/CUDA___F__V (0 ms)
[ RUN ] olGetDeviceInfoTest.SuccessVendor/CUDA___F__V
[ OK ] olGetDeviceInfoTest.SuccessVendor/CUDA___F__V (0 ms)
[ RUN ] olGetDeviceInfoTest.SuccessDriverVersion/CUDA___F__V
#0 0x00005614dc87c382 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (./build/runtimes/runtimes-bins/offload/unittests/OffloadAPI/device.unittests+0x5e382)
#1 0x00005614dc87989f llvm::sys::RunSignalHandlers() (./build/runtimes/runtimes-bins/offload/unittests/OffloadAPI/device.unittests+0x5b89f)
#2 0x00005614dc8799e4 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007fd1c2ea8330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330)
#4 0x00007fd1c2f01b2c pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x9eb2c)
#5 0x00007fd1c2ea827e raise (/lib/x86_64-linux-gnu/libc.so.6+0x4527e)
#6 0x00007fd1c2e8b8ff abort (/lib/x86_64-linux-gnu/libc.so.6+0x288ff)
#7 0x00007fd1c36455e9 llvm::offload::olGetDeviceInfoImplDetail(ol_device_impl_t*, ol_device_info_t, unsigned long, void*, unsigned long*)::$_0::operator()(std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>) const OffloadImpl.cpp:0:0
#8 0x00007fd1c3644e85 llvm::offload::olGetDeviceInfoImplDetail(ol_device_impl_t*, ol_device_info_t, unsigned long, void*, unsigned long*) (/home/leandro/llvm-project/build/lib/libLLVMOffload.so.21.0git+0x214e85)
#9 0x00007fd1c3645661 llvm::offload::olGetDeviceInfoSize_impl(ol_device_impl_t*, ol_device_info_t, unsigned long*) (/home/leandro/llvm-project/build/lib/libLLVMOffload.so.21.0git+0x215661)
#10 0x00007fd1c363c298 olGetDeviceInfoSize_val(ol_device_impl_t*, ol_device_info_t, unsigned long*) (/home/leandro/llvm-project/build/lib/libLLVMOffload.so.21.0git+0x20c298)
#11 0x00007fd1c363c3cc olGetDeviceInfoSize (/home/leandro/llvm-project/build/lib/libLLVMOffload.so.21.0git+0x20c3cc)
#12 0x00005614dc8374fc olGetDeviceInfoTest_SuccessDriverVersion_Test::TestBody() (./build/runtimes/runtimes-bins/offload/unittests/OffloadAPI/device.unittests+0x194fc)
#13 0x00005614dc893aa0 testing::Test::Run() (./build/runtimes/runtimes-bins/offload/unittests/OffloadAPI/device.unittests+0x75aa0)
#14 0x00005614dc894f80 testing::TestInfo::Run() (./build/runtimes/runtimes-bins/offload/unittests/OffloadAPI/device.unittests+0x76f80)
#15 0x00005614dc895b93 testing::TestSuite::Run() (./build/runtimes/runtimes-bins/offload/unittests/OffloadAPI/device.unittests+0x77b93)
#16 0x00005614dc8a6dc4 testing::internal::UnitTestImpl::RunAllTests() (./build/runtimes/runtimes-bins/offload/unittests/OffloadAPI/device.unittests+0x88dc4)
#17 0x00005614dc8a6189 testing::UnitTest::Run() (./build/runtimes/runtimes-bins/offload/unittests/OffloadAPI/device.unittests+0x88189)
#18 0x00005614dc87f43c main (./build/runtimes/runtimes-bins/offload/unittests/OffloadAPI/device.unittests+0x6143c)
#19 0x00007fd1c2e8d1ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca)
#20 0x00007fd1c2e8d28b __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28b)
#21 0x00005614dc8310e5 _start (./build/runtimes/runtimes-bins/offload/unittests/OffloadAPI/device.unittests+0x130e5)
Aborted (core dumped)
Environment:
- LLVM version: Custom build from git
- LLVM Project Commit Hash:
6bdfecaea837a07d034b1598a3af38c6f64044f4
- LLVM Project Commit Hash:
- Operating System: Ubuntu 24.04.2 LTS (WSL2)
leandro@Zephyrus:~/llvm-project$ nvidia-smi
Thu Jun 26 20:35:46 2025
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 575.51.02 Driver Version: 576.02 CUDA Version: 12.9 |
|-----------------------------------------+------------------------+----------------------+
| GPU Name Persistence-M | Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap | Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|=========================================+========================+======================|
| 0 NVIDIA GeForce RTX 4070 ... On | 00000000:64:00.0 Off | N/A |
| N/A 45C P8 2W / 60W | 0MiB / 8188MiB | 0% Default |
| | | N/A |
+-----------------------------------------+------------------------+----------------------+
+-----------------------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=========================================================================================|
| No running processes found |
+-----------------------------------------------------------------------------------------+