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 
11 namespace sycl {
12 namespace usm {
13 
14 enum class alloc { host = 0, device = 1, shared = 2, unknown = 3 };
15 
16 } // namespace usm
17 } // namespace sycl
18 } // __SYCL_INLINE_NAMESPACE(cl)
sycl
Definition: invoke_simd.hpp:68
cl::sycl::device
The SYCL device class encapsulates a single SYCL device on which kernels may be executed.
Definition: device.hpp:35
cl
We provide new interfaces for matrix muliply in this patch:
Definition: access.hpp:13
cl::sycl::usm::alloc::unknown
@ unknown
cl::sycl::usm::alloc::shared
@ shared
cl::sycl::aspect::host
@ host
cl::sycl::usm::alloc
alloc
Definition: usm_enums.hpp:14
__SYCL_INLINE_NAMESPACE
#define __SYCL_INLINE_NAMESPACE(X)
Definition: defines_elementary.hpp:12