summaryrefslogtreecommitdiff
path: root/offload/unittests/OffloadAPI/queue/olSyncQueue.cpp
diff options
context:
space:
mode:
authorLucas Ramirez <11032120+lucas-rami@users.noreply.github.com>2025-07-25 04:38:20 -0700
committerAmir Ayupov <aaupov@fb.com>2025-07-25 04:38:20 -0700
commitf45382b8900a58374b1395a7dd03d7f40085faf3 (patch)
treeeddff09d0f6bff927ae0866a4c817b6aef84707b /offload/unittests/OffloadAPI/queue/olSyncQueue.cpp
parent832d1b1c812acff0a2e01799a0a59d69ebcc7d25 (diff)
parente38f98f535f6e2ce2b42ea0413919f87b1239964 (diff)
[𝘀𝗽𝗿] changes introduced through rebaseusers/aaupov/spr/main.bolt-require-cfg-in-bat-mode
Created using spr 1.3.4 [skip ci]
Diffstat (limited to 'offload/unittests/OffloadAPI/queue/olSyncQueue.cpp')
-rw-r--r--offload/unittests/OffloadAPI/queue/olSyncQueue.cpp18
1 files changed, 18 insertions, 0 deletions
diff --git a/offload/unittests/OffloadAPI/queue/olSyncQueue.cpp b/offload/unittests/OffloadAPI/queue/olSyncQueue.cpp
new file mode 100644
index 000000000000..f07ebbdbaed8
--- /dev/null
+++ b/offload/unittests/OffloadAPI/queue/olSyncQueue.cpp
@@ -0,0 +1,18 @@
+//===------- Offload API tests - olSyncQueue ------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+#include "../common/Fixtures.hpp"
+#include <OffloadAPI.h>
+#include <gtest/gtest.h>
+
+using olSyncQueueTest = OffloadQueueTest;
+OFFLOAD_TESTS_INSTANTIATE_DEVICE_FIXTURE(olSyncQueueTest);
+
+TEST_P(olSyncQueueTest, SuccessEmptyQueue) {
+ ASSERT_SUCCESS(olSyncQueue(Queue));
+}