Blender V5.0
device/hiprt/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_HIPRT
8
9# include "device/memory.h"
10# include "device/queue.h"
11
12# include "device/hip/queue.h"
13
15
16class HIPRTDevice;
17
18class HIPRTDeviceQueue : public HIPDeviceQueue {
19 public:
20 HIPRTDeviceQueue(HIPRTDevice *device);
21 ~HIPRTDeviceQueue() override = default;
22 bool enqueue(DeviceKernel kernel,
23 const int work_size,
24 const DeviceKernelArguments &args) override;
25
26 protected:
27 HIPRTDevice *hiprt_device_;
28};
29
31
32#endif /* WITH_HIPRT */
#define CCL_NAMESPACE_END
ccl_gpu_kernel_postfix const ccl_global int ccl_global float const int work_size
DeviceKernel