DPC++ Runtime
Runtime libraries for oneAPI DPC++
aspects.hpp
Go to the documentation of this file.
1
//==--------------- aspects.hpp - SYCL Aspect Enums ------------*- C++ -*---==//
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
#pragma once
9
10
#include <
sycl/detail/defines.hpp
>
// for __SYCL_TYPE
11
#include <
sycl/detail/defines_elementary.hpp
>
// for __SYCL2020_DEPRECATED
12
13
namespace
sycl
{
14
inline
namespace
_V1 {
15
16
#define __SYCL_ASPECT(ASPECT, ID) ASPECT = ID,
17
#define __SYCL_ASPECT_DEPRECATED(ASPECT, ID, MESSAGE) \
18
ASPECT __SYCL2020_DEPRECATED(MESSAGE) = ID,
19
#define __SYCL_ASPECT_DEPRECATED_ALIAS(ASPECT, ID, MESSAGE) \
20
__SYCL_ASPECT_DEPRECATED(ASPECT, ID, MESSAGE)
21
enum class
__SYCL_TYPE(aspect) aspect {
22
#include <sycl/info/aspects.def>
23
#include <sycl/info/aspects_deprecated.def>
24
};
25
#undef __SYCL_ASPECT_DEPRECATED_ALIAS
26
#undef __SYCL_ASPECT_DEPRECATED
27
#undef __SYCL_ASPECT
28
29
}
// namespace _V1
30
}
// namespace sycl
defines.hpp
defines_elementary.hpp
sycl
Definition:
access.hpp:18
include
sycl
aspects.hpp
Generated by
1.9.1