24.02.1
|
The atomic unit in a Gpu workload. More...
#include <GpuWorkloadSourceCode.h>
Public Member Functions | |
GpuUnitWorkload ()=default | |
Default constructor. More... | |
GpuUnitWorkload (UnitWorkloadId id, const GpuKernelSourceCode &kernel_code, const UnitWorkloadStage &stage) | |
Constructor. More... | |
UnitWorkloadId | id () const |
Get the id of the unit workload. More... | |
const GpuKernelSourceCode & | code () const |
Get reference to the underlying GpuKernelSourceCode. More... | |
UnitWorkloadStage | stage () const |
Get the stage of the unit workload. More... | |
The atomic unit in a Gpu workload.
It contains exactly one kernel to run.
Definition at line 200 of file GpuWorkloadSourceCode.h.
|
default |
Default constructor.
|
inline |
Constructor.
[in] | id | Id that uniquely identifies this unit workload in a workload |
[in] | kernel_code | GpuKernelSourceCode contained within |
[in] | stage | Stage of the unit workload |
Definition at line 211 of file GpuWorkloadSourceCode.h.
|
inline |
Get reference to the underlying GpuKernelSourceCode.
Definition at line 221 of file GpuWorkloadSourceCode.h.
|
inline |
Get the id of the unit workload.
Definition at line 216 of file GpuWorkloadSourceCode.h.
|
inline |
Get the stage of the unit workload.
Definition at line 226 of file GpuWorkloadSourceCode.h.