DPC++ Runtime
Runtime libraries for oneAPI DPC++
usm_enums.hpp
Go to the documentation of this file.
1
//==-------------- usm_enums.hpp - SYCL USM 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
namespace
sycl
{
11
inline
namespace
_V1 {
12
namespace
usm {
13
14
enum class
alloc
{
host
= 0,
device
= 1,
shared
= 2,
unknown
= 3 };
15
16
}
// namespace usm
17
}
// namespace _V1
18
}
// namespace sycl
sycl::_V1::device
The SYCL device class encapsulates a single SYCL device on which kernels may be executed.
Definition:
device.hpp:64
sycl::_V1::usm::alloc
alloc
Definition:
usm_enums.hpp:14
sycl::_V1::usm::alloc::host
@ host
sycl::_V1::usm::alloc::shared
@ shared
sycl::_V1::usm::alloc::unknown
@ unknown
sycl
Definition:
access.hpp:18
include
sycl
usm
usm_enums.hpp
Generated by
1.9.1