Blender V4.3
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
12
13class OptiXDevice;
14
15/* Base class for CUDA queues. */
16class 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
28
29#endif /* WITH_OPTIX */
#define CCL_NAMESPACE_END
static ImBuf * init_execution(const SeqRenderData *context, ImBuf *ibuf1, ImBuf *ibuf2)
Definition effects.cc:3253
ccl_gpu_kernel_postfix ccl_global const int ccl_global float const int work_size
DeviceKernel