Add Chromium-only Blender WebEngine parity work
This commit is contained in:
29
blender-5.2.0/intern/cycles/device/optix/queue.h
Normal file
29
blender-5.2.0/intern/cycles/device/optix/queue.h
Normal file
@@ -0,0 +1,29 @@
|
||||
/* SPDX-FileCopyrightText: 2011-2022 Blender Foundation
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0 */
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifdef WITH_OPTIX
|
||||
|
||||
# include "device/cuda/queue.h"
|
||||
|
||||
CCL_NAMESPACE_BEGIN
|
||||
|
||||
class OptiXDevice;
|
||||
|
||||
/* Base class for CUDA queues. */
|
||||
class OptiXDeviceQueue : public CUDADeviceQueue {
|
||||
public:
|
||||
OptiXDeviceQueue(OptiXDevice *device);
|
||||
|
||||
void init_execution() override;
|
||||
|
||||
bool enqueue(DeviceKernel kernel,
|
||||
const int work_size,
|
||||
const DeviceKernelArguments &args) override;
|
||||
};
|
||||
|
||||
CCL_NAMESPACE_END
|
||||
|
||||
#endif /* WITH_OPTIX */
|
||||
Reference in New Issue
Block a user