Blender  V3.3
device/optix/queue.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 #ifdef WITH_OPTIX
7 
8 # include "device/cuda/queue.h"
9 
11 
12 class OptiXDevice;
13 
14 /* Base class for CUDA queues. */
15 class OptiXDeviceQueue : public CUDADeviceQueue {
16  public:
17  OptiXDeviceQueue(OptiXDevice *device);
18 
19  virtual void init_execution() override;
20 
21  virtual bool enqueue(DeviceKernel kernel,
22  const int work_size,
23  DeviceKernelArguments const &args) override;
24 };
25 
27 
28 #endif /* WITH_OPTIX */
#define CCL_NAMESPACE_END
Definition: cuda/compat.h:9
SyclQueue void void size_t num_bytes SyclQueue void const char void *memory_device_pointer KernelContext int kernel
static struct ImBuf * init_execution(const SeqRenderData *context, ImBuf *ibuf1, ImBuf *ibuf2, ImBuf *ibuf3)
Definition: effects.c:3519
ccl_gpu_kernel_postfix ccl_global const int ccl_global float const int work_size
DeviceKernel