[llvm] [Offload] Skip event tests on AMDGPU (PR #148632)
Kenneth Benzie via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 14 06:44:39 PDT 2025
================
@@ -10,10 +10,20 @@
#include <OffloadAPI.h>
#include <gtest/gtest.h>
-using olWaitEventTest = OffloadQueueTest;
+struct olWaitEventTest : OffloadQueueTest {
+ void SetUp() override {
+ RETURN_ON_FATAL_FAILURE(OffloadQueueTest::SetUp());
+ if (getPlatformBackend() == OL_PLATFORM_BACKEND_AMDGPU) {
+ GTEST_SKIP() << "synchronize event not implemented";
+ }
+ }
+};
OFFLOAD_TESTS_INSTANTIATE_DEVICE_FIXTURE(olWaitEventTest);
TEST_P(olWaitEventTest, Success) {
+ if (getPlatformBackend() == OL_PLATFORM_BACKEND_AMDGPU) {
----------------
kbenzie wrote:
Removed the fixture change since it's just the `Success` case that hits this issue.
https://github.com/llvm/llvm-project/pull/148632
More information about the llvm-commits
mailing list