24.02.1
|
A wrapper-processor of a GpuKernelComponentGroup It adds the load (if any) and store components to the component group The GpuLogicalKernel represents a complete kernel, and can proceed to invoke any kernel writer to generate the full kernel code. More...
#include <GpuLogicalKernel.h>
Public Member Functions | |
GpuLogicalKernel (GpuComponentServices *services, const GpuKernelComponentGroup &components) | |
Constructor. More... | |
GpuLogicalKernel (const GpuLogicalKernel &)=default | |
Allow instances of this class to be copy constructed. More... | |
GpuLogicalKernel & | operator= (const GpuLogicalKernel &)=default |
Allow instances of this class to be copied. More... | |
GpuLogicalKernel (GpuLogicalKernel &&)=default | |
Allow instances of this class to be move constructed. More... | |
GpuLogicalKernel & | operator= (GpuLogicalKernel &&)=default |
Allow instances of this class to be moved. More... | |
GpuKernelSourceCode | write_kernel_code () |
Generate a GpuKernelSourceCode. More... | |
A wrapper-processor of a GpuKernelComponentGroup It adds the load (if any) and store components to the component group The GpuLogicalKernel represents a complete kernel, and can proceed to invoke any kernel writer to generate the full kernel code.
Definition at line 47 of file GpuLogicalKernel.h.
|
explicit |
Constructor.
[in] | services | GpuComponentServices to be used |
[in] | components | Component group from which this logical kernel is initialized |
Definition at line 44 of file GpuLogicalKernel.cpp.
|
default |
Allow instances of this class to be copy constructed.
|
default |
Allow instances of this class to be move constructed.
|
default |
Allow instances of this class to be copied.
|
default |
Allow instances of this class to be moved.
GpuKernelSourceCode write_kernel_code | ( | ) |
Generate a GpuKernelSourceCode.
Definition at line 50 of file GpuLogicalKernel.cpp.
References GpuKernelSourceCode::arguments(), GpuKernelSourceCode::build_options(), GpuKernelSourceCode::code(), GpuKernelSourceCode::config_id(), GpuKernelSourceCode::name(), and GpuKernelSourceCode::window().
Referenced by GpuKernelComponentStream::write_workload_code().