[all-commits] [llvm/llvm-project] 6022a5: [Offload] Add check-offload-unit for liboffload un...
Callum Fare via All-commits
all-commits at lists.llvm.org
Tue Apr 29 09:22:20 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 6022a5214b597561d23c26a839a210f41c246c47
https://github.com/llvm/llvm-project/commit/6022a5214b597561d23c26a839a210f41c246c47
Author: Callum Fare <callum at codeplay.com>
Date: 2025-04-29 (Tue, 29 Apr 2025)
Changed paths:
M offload/liboffload/src/OffloadImpl.cpp
M offload/test/CMakeLists.txt
M offload/test/lit.cfg
A offload/test/unit/lit.cfg.py
A offload/test/unit/lit.site.cfg.in
M offload/unittests/CMakeLists.txt
M offload/unittests/OffloadAPI/CMakeLists.txt
M offload/unittests/OffloadAPI/common/Environment.cpp
M offload/unittests/OffloadAPI/common/Environment.hpp
M offload/unittests/OffloadAPI/common/Fixtures.hpp
R offload/unittests/OffloadAPI/device/olDeviceInfo.hpp
M offload/unittests/OffloadAPI/device/olGetDeviceInfo.cpp
M offload/unittests/OffloadAPI/device/olGetDeviceInfoSize.cpp
M offload/unittests/OffloadAPI/device_code/CMakeLists.txt
M offload/unittests/OffloadAPI/kernel/olGetKernel.cpp
M offload/unittests/OffloadAPI/kernel/olLaunchKernel.cpp
M offload/unittests/OffloadAPI/memory/olMemAlloc.cpp
M offload/unittests/OffloadAPI/memory/olMemFree.cpp
M offload/unittests/OffloadAPI/memory/olMemcpy.cpp
M offload/unittests/OffloadAPI/platform/olGetPlatformInfo.cpp
M offload/unittests/OffloadAPI/platform/olGetPlatformInfoSize.cpp
R offload/unittests/OffloadAPI/platform/olPlatformInfo.hpp
M offload/unittests/OffloadAPI/program/olCreateProgram.cpp
M offload/unittests/OffloadAPI/program/olDestroyProgram.cpp
M offload/unittests/OffloadAPI/queue/olCreateQueue.cpp
M offload/unittests/OffloadAPI/queue/olDestroyQueue.cpp
M offload/unittests/OffloadAPI/queue/olWaitQueue.cpp
R offload/unittests/Plugins/CMakeLists.txt
R offload/unittests/Plugins/NextgenPluginsTest.cpp
Log Message:
-----------
[Offload] Add check-offload-unit for liboffload unittests (#137312)
Adds a `check-offload-unit` target for running the liboffload unit test
suite. This unit test binary runs the tests for every available device.
This can optionally filtered to devices from a single platform, but the
check target runs on everything.
The target is not part of `check-offload` and does not get propagated to
the top level build. I'm not sure if either of these things are
desirable, but I'm happy to look into it if we want.
Also remove the `offload/unittests/Plugins` test as it's dead code and
doesn't build.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list