Add Chromium-only Blender WebEngine parity work
This commit is contained in:
32
blender-5.2.0/intern/cycles/device/hiprt/queue.h
Normal file
32
blender-5.2.0/intern/cycles/device/hiprt/queue.h
Normal file
@@ -0,0 +1,32 @@
|
||||
/* SPDX-FileCopyrightText: 2011-2022 Blender Foundation
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0 */
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifdef WITH_HIPRT
|
||||
|
||||
# include "device/memory.h"
|
||||
# include "device/queue.h"
|
||||
|
||||
# include "device/hip/queue.h"
|
||||
|
||||
CCL_NAMESPACE_BEGIN
|
||||
|
||||
class HIPRTDevice;
|
||||
|
||||
class HIPRTDeviceQueue : public HIPDeviceQueue {
|
||||
public:
|
||||
HIPRTDeviceQueue(HIPRTDevice *device);
|
||||
~HIPRTDeviceQueue() override = default;
|
||||
bool enqueue(DeviceKernel kernel,
|
||||
const int work_size,
|
||||
const DeviceKernelArguments &args) override;
|
||||
|
||||
protected:
|
||||
HIPRTDevice *hiprt_device_;
|
||||
};
|
||||
|
||||
CCL_NAMESPACE_END
|
||||
|
||||
#endif /* WITH_HIPRT */
|
||||
Reference in New Issue
Block a user