Blender
V5.0
intern
cycles
device
optix
device/optix/queue.h
Go to the documentation of this file.
1
/* SPDX-FileCopyrightText: 2011-2022 Blender Foundation
2
*
3
* SPDX-License-Identifier: Apache-2.0 */
4
5
#pragma once
6
7
#ifdef WITH_OPTIX
8
9
# include "
device/cuda/queue.h
"
10
11
CCL_NAMESPACE_BEGIN
12
13
class
OptiXDevice;
14
15
/* Base class for CUDA queues. */
16
class
OptiXDeviceQueue :
public
CUDADeviceQueue {
17
public
:
18
OptiXDeviceQueue(OptiXDevice *device);
19
20
void
init_execution()
override
;
21
22
bool
enqueue(
DeviceKernel
kernel,
23
const
int
work_size
,
24
const
DeviceKernelArguments &args)
override
;
25
};
26
27
CCL_NAMESPACE_END
28
29
#endif
/* WITH_OPTIX */
CCL_NAMESPACE_END
#define CCL_NAMESPACE_END
Definition
device/cuda/compat.h:10
queue.h
work_size
ccl_gpu_kernel_postfix const ccl_global int ccl_global float const int work_size
Definition
kernel/device/gpu/kernel.h:151
DeviceKernel
DeviceKernel
Definition
kernel/types.h:1837
CCL_NAMESPACE_BEGIN
Definition
python.cpp:37
Generated on
for Blender by
doxygen
1.16.1