Blender
V3.3
intern
cycles
device
oneapi
dll_interface.h
Go to the documentation of this file.
1
/* SPDX-License-Identifier: Apache-2.0
2
* Copyright 2011-2022 Blender Foundation */
3
4
#pragma once
5
6
/* Include kernel header to get access to SYCL-specific types, like SyclQueue and
7
* OneAPIDeviceIteratorCallback. */
8
#include "
kernel/device/oneapi/kernel.h
"
9
10
#ifdef WITH_ONEAPI
11
struct
OneAPIDLLInterface {
12
# define DLL_INTERFACE_CALL(function, return_type, ...) \
13
return_type (*function)(__VA_ARGS__) = nullptr;
14
# include "
kernel/device/oneapi/dll_interface_template.h
"
15
# undef DLL_INTERFACE_CALL
16
};
17
#endif
dll_interface_template.h
kernel.h
Generated on Tue Oct 22 2024 13:18:25 for Blender by
doxygen
1.9.1