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
#include <
CL/sycl/detail/defines_elementary.hpp
>
12
13
__SYCL_INLINE_NAMESPACE
(
cl
) {
14
namespace
sycl
{
15
namespace
ext {
16
namespace
oneapi {
17
namespace
level_zero {
18
19
// Since Level-Zero is not doing any reference counting itself, we have to
20
// be explicit about the ownership of the native handles used in the
21
// interop functions below.
22
//
23
enum class
ownership
{
transfer
,
keep
};
24
25
}
// namespace level_zero
26
}
// namespace oneapi
27
}
// namespace ext
28
}
// namespace sycl
29
}
// __SYCL_INLINE_NAMESPACE(cl)
defines_elementary.hpp
cl::sycl::ext::oneapi::level_zero::ownership::transfer
@ transfer
sycl
Definition:
invoke_simd.hpp:68
cl
We provide new interfaces for matrix muliply in this patch:
Definition:
access.hpp:13
cl::sycl::ext::oneapi::level_zero::ownership
ownership
Definition:
level_zero_ownership.hpp:23
cl::sycl::ext::oneapi::level_zero::ownership::keep
@ keep
__SYCL_INLINE_NAMESPACE
#define __SYCL_INLINE_NAMESPACE(X)
Definition:
defines_elementary.hpp:12
include
sycl
ext
oneapi
backend
level_zero_ownership.hpp
Generated by
1.8.17