Blender
V4.3
intern
cycles
device
hiprt
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/kernel.h
"
10
# include "
device/memory.h
"
11
# include "
device/queue.h
"
12
13
# include "
device/hip/queue.h
"
14
# include "
device/hip/util.h
"
15
16
CCL_NAMESPACE_BEGIN
17
18
class
HIPRTDevice;
19
20
class
HIPRTDeviceQueue :
public
HIPDeviceQueue {
21
public
:
22
HIPRTDeviceQueue(HIPRTDevice *device);
23
~HIPRTDeviceQueue() {}
24
virtual
bool
enqueue(
DeviceKernel
kernel,
25
const
int
work_size
,
26
DeviceKernelArguments
const
&args)
override
;
27
28
protected
:
29
HIPRTDevice *hiprt_device_;
30
};
31
32
CCL_NAMESPACE_END
33
34
#endif
/* WITH_HIPRT */
util.h
memory.h
CCL_NAMESPACE_END
#define CCL_NAMESPACE_END
Definition
device/cuda/compat.h:10
queue.h
kernel.h
queue.h
work_size
ccl_gpu_kernel_postfix ccl_global const int ccl_global float const int work_size
Definition
kernel/device/gpu/kernel.h:150
DeviceKernel
DeviceKernel
Definition
kernel/types.h:1815
CCL_NAMESPACE_BEGIN
Definition
python.cpp:44
DeviceKernelArguments
Definition
device/queue.h:24
Generated on Thu Feb 6 2025 07:36:39 for Blender by
doxygen
1.11.0