brintos

brintos / llvm-project-archived public Read only

0
0
Text · 641 B · f07ebbd Raw
19 lines · cpp
1//===------- Offload API tests - olSyncQueue ------------------------------===//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-exception6//7//===----------------------------------------------------------------------===//8 9#include "../common/Fixtures.hpp"10#include <OffloadAPI.h>11#include <gtest/gtest.h>12 13using olSyncQueueTest = OffloadQueueTest;14OFFLOAD_TESTS_INSTANTIATE_DEVICE_FIXTURE(olSyncQueueTest);15 16TEST_P(olSyncQueueTest, SuccessEmptyQueue) {17  ASSERT_SUCCESS(olSyncQueue(Queue));18}19