| 1 | //===------- Offload API tests - olWaitQueue ------------------------------===// |
|---|---|
| 2 | // |
| 3 | // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. |
| 4 | // See https://llvm.org/LICENSE.txt for license information. |
| 5 | // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception |
| 6 | // |
| 7 | //===----------------------------------------------------------------------===// |
| 8 | |
| 9 | #include "../common/Fixtures.hpp" |
| 10 | #include <OffloadAPI.h> |
| 11 | #include <gtest/gtest.h> |
| 12 | |
| 13 | using olWaitQueueTest = OffloadQueueTest; |
| 14 | OFFLOAD_TESTS_INSTANTIATE_DEVICE_FIXTURE(olWaitQueueTest); |
| 15 | |
| 16 | TEST_P(olWaitQueueTest, SuccessEmptyQueue) { |
| 17 | ASSERT_SUCCESS(olWaitQueue(Queue)); |
| 18 | } |
| 19 |
