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
The SYCL device class encapsulates a single SYCL device on which kernels may be executed.
Definition: device.hpp:64
Definition: access.hpp:18