Blender
V4.3
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
virtual
void
init_execution
()
override
;
21
22
virtual
bool
enqueue(
DeviceKernel
kernel,
23
const
int
work_size
,
24
DeviceKernelArguments
const
&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
init_execution
static ImBuf * init_execution(const SeqRenderData *context, ImBuf *ibuf1, ImBuf *ibuf2)
Definition
effects.cc:3253
work_size
ccl_gpu_kernel_postfix ccl_global const int ccl_global float const int work_size
Definition
kernel/device/gpu/kernel.h:150
DeviceKernel
DeviceKernel
Definition
kernel/types.h:1815
CCL_NAMESPACE_BEGIN
Definition
python.cpp:44
DeviceKernelArguments
Definition
device/queue.h:24
Generated on Thu Feb 6 2025 07:36:39 for Blender by
doxygen
1.11.0