1 //===------- Offload API tests - gtest environment ------------------------===// 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 #pragma once 10 11 #include <OffloadAPI.h> 12 #include <gtest/gtest.h> 13 14 namespace TestEnvironment { 15 const std::vector<ol_platform_handle_t> &getPlatforms(); 16 ol_platform_handle_t getPlatform(); 17 } // namespace TestEnvironment 18