DPC++ Runtime
Runtime libraries for oneAPI DPC++
level_zero_ownership.hpp
Go to the documentation of this file.
1
//===--- level_zero_ownership.hpp - Level Zero Ownership -- ------*-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
9
#pragma once
10
11
namespace
sycl
{
12
inline
namespace
_V1 {
13
namespace
ext::oneapi::level_zero {
14
15
// Since Level-Zero is not doing any reference counting itself, we have to
16
// be explicit about the ownership of the native handles used in the
17
// interop functions below.
18
//
19
enum class
ownership
{
transfer
,
keep
};
20
21
}
// namespace ext::oneapi::level_zero
22
}
// namespace _V1
23
}
// namespace sycl
sycl::_V1::ext::oneapi::level_zero::ownership
ownership
Definition:
level_zero_ownership.hpp:19
sycl::_V1::ext::oneapi::level_zero::ownership::keep
@ keep
sycl::_V1::ext::oneapi::level_zero::ownership::transfer
@ transfer
sycl
Definition:
access.hpp:18
include
sycl
ext
oneapi
backend
level_zero_ownership.hpp
Generated by
1.9.1