32 lines · plain
1//===----------------------------------------------------------------------===//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/// \file10/// This file contains the declaration of the SYCL platform class, which11/// encapsulates a single platform on which kernel functions may be executed.12///13//===----------------------------------------------------------------------===//14 15#ifndef _LIBSYCL___IMPL_PLATFORM_HPP16#define _LIBSYCL___IMPL_PLATFORM_HPP17 18#include <sycl/__impl/detail/config.hpp>19 20_LIBSYCL_BEGIN_NAMESPACE_SYCL21 22class _LIBSYCL_EXPORT platform {23public:24 /// Constructs a SYCL platform which contains the default device.25 platform();26 27}; // class platform28 29_LIBSYCL_END_NAMESPACE_SYCL30 31#endif // _LIBSYCL___IMPL_PLATFORM_HPP32