Blender  V3.3
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. */
9 
10 #ifdef WITH_ONEAPI
11 struct OneAPIDLLInterface {
12 # define DLL_INTERFACE_CALL(function, return_type, ...) \
13  return_type (*function)(__VA_ARGS__) = nullptr;
15 # undef DLL_INTERFACE_CALL
16 };
17 #endif