DPC++ Runtime
Runtime libraries for oneAPI DPC++
bindless_images_interop.hpp
Go to the documentation of this file.
1 //==----------- bindless_images_interop.hpp --- SYCL bindless images -------==//
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 <sycl/detail/pi.h> // for pi_uint64
12 
13 #include <stddef.h> // for size_t
14 
15 namespace sycl {
16 inline namespace _V1 {
17 namespace ext::oneapi::experimental {
18 
23 };
24 
29 };
30 
31 // External resource file descriptor type
32 struct resource_fd {
34 };
35 
36 // Windows external handle type
38  void *handle;
39 };
40 
41 // Windows external name type
43  const void *name;
44 };
45 
47 template <typename ResourceType> struct external_mem_descriptor {
48  ResourceType external_resource;
49  size_t size_in_bytes;
50 };
51 
52 // Opaque external semaphore descriptor type
53 template <typename ResourceType> struct external_semaphore_descriptor {
54  ResourceType external_resource;
55 };
56 
58 
62 };
63 
66  void *handle;
67  const void *name;
68 };
69 
73 };
74 
75 } // namespace ext::oneapi::experimental
76 } // namespace _V1
77 } // namespace sycl
Definition: access.hpp:18
uint64_t pi_uint64
Definition: pi.h:214