5#if defined(WITH_ONEAPI) && defined(SYCL_LINEAR_MEMORY_INTEROP_AVAILABLE)
7# include <sycl/sycl.hpp>
18class OneapiDeviceQueue;
22 explicit OneapiDeviceGraphicsInterop(OneapiDeviceQueue *queue);
24 OneapiDeviceGraphicsInterop(
const OneapiDeviceGraphicsInterop &other) =
delete;
25 OneapiDeviceGraphicsInterop(OneapiDeviceGraphicsInterop &&other)
noexcept =
delete;
27 ~OneapiDeviceGraphicsInterop()
override;
29 OneapiDeviceGraphicsInterop &
operator=(
const OneapiDeviceGraphicsInterop &other) =
delete;
30 OneapiDeviceGraphicsInterop &
operator=(OneapiDeviceGraphicsInterop &&other) =
delete;
32 void set_buffer(GraphicsInteropBuffer &interop_buffer)
override;
35 void unmap()
override;
38 OneapiDeviceQueue *queue_ =
nullptr;
39 OneapiDevice *device_ =
nullptr;
42 size_t buffer_size_ = 0;
45 bool need_zero_ =
false;
48 sycl::ext::oneapi::experimental::external_mem sycl_external_memory_{};
49 void *sycl_memory_ptr_ =
nullptr;
53 void *vulkan_windows_handle_ =
nullptr;
void BLI_kdtree_nd_ free(KDTree *tree)
btGeneric6DofConstraint & operator=(btGeneric6DofConstraint &other)
#define CCL_NAMESPACE_END