24.02.1
|
Describes all the info related to a workload argument (tensor) in order to: More...
#include <GpuWorkloadSourceCode.h>
Public Member Functions | |
GpuWorkloadArgument ()=default | |
Default constructor. More... | |
GpuWorkloadArgument (const ITensorInfo &tensor_info, const MemoryDescriptor &mem_desc, const GpuKernelArgumentInfo &kernel_arg_info) | |
Constructor. More... | |
ITensorInfo::Id | id () const |
Get tensor id within workload. More... | |
ITensorInfo * | tensor_info () |
Get ITensorInfo of the argument. More... | |
const ITensorInfo * | tensor_info () const |
Get ITensorInfo of the argument. More... | |
MemoryDescriptor * | memory_descriptor () |
Get MemoryDescriptor of the argument. More... | |
const MemoryDescriptor * | memory_descriptor () const |
Get MemoryDescriptor of the argument. More... | |
GpuKernelArgumentInfo * | kernel_argument_info () |
Get GpuKernelArgumentInfo of the argument. More... | |
const GpuKernelArgumentInfo * | kernel_argument_info () const |
Get GpuKernelArgumentInfo of the argument. More... | |
bool | has_valid_id () const |
Check if the workload argument has valid id. More... | |
Describes all the info related to a workload argument (tensor) in order to:
Definition at line 81 of file GpuWorkloadSourceCode.h.
|
default |
Default constructor.
|
inline |
Constructor.
[in] | tensor_info | ITensorInfo of the workload argument |
[in] | mem_desc | MemoryDescriptor of the workload argument |
[in] | kernel_arg_info | GpuKernelArgumentInfo of the workload argument |
Definition at line 93 of file GpuWorkloadSourceCode.h.
References GpuWorkloadArgument::tensor_info().
|
inline |
Check if the workload argument has valid id.
Definition at line 166 of file GpuWorkloadSourceCode.h.
References ITensorInfo::has_valid_id().
|
inline |
Get tensor id within workload.
Definition at line 114 of file GpuWorkloadSourceCode.h.
References TensorInfo::id().
|
inline |
Get GpuKernelArgumentInfo of the argument.
Definition at line 140 of file GpuWorkloadSourceCode.h.
|
inline |
Get GpuKernelArgumentInfo of the argument.
Definition at line 145 of file GpuWorkloadSourceCode.h.
|
inline |
Get MemoryDescriptor of the argument.
Definition at line 129 of file GpuWorkloadSourceCode.h.
|
inline |
Get MemoryDescriptor of the argument.
Definition at line 134 of file GpuWorkloadSourceCode.h.
|
inline |
Get ITensorInfo of the argument.
Definition at line 119 of file GpuWorkloadSourceCode.h.
Referenced by GpuWorkloadSourceCode::add_unit_workload(), and GpuWorkloadArgument::GpuWorkloadArgument().
|
inline |
Get ITensorInfo of the argument.
Definition at line 124 of file GpuWorkloadSourceCode.h.