24.02.1
|
Container of kernel code to be compiled and run in a GpuUnitWorkload. More...
#include <GpuKernelSourceCode.h>
Public Member Functions | |
GpuKernelSourceCode & | name (const std::string &n) |
Set kernel name. More... | |
GpuKernelSourceCode & | code (const std::string &c) |
Set kernel code. More... | |
GpuKernelSourceCode & | config_id (const std::string &c_id) |
Set kernel config id string. More... | |
GpuKernelSourceCode & | build_options (const CLBuildOptions &b_options) |
Set kernel build options. More... | |
GpuKernelSourceCode & | window (const Window &window) |
Set kernel execution window. More... | |
GpuKernelSourceCode & | arguments (const GpuKernelArgumentList &arguments) |
Set kernel argument list. More... | |
std::string | name () const |
Get kernel name. More... | |
std::string | code () const |
Get kernel code. More... | |
std::string | config_id () const |
Get kernel config id string. More... | |
const CLBuildOptions & | build_options () const |
Get kernel build options. More... | |
const Window & | window () const |
Get kernel execution window. More... | |
const GpuKernelArgumentList & | arguments () const |
Get kernel argument list. More... | |
Container of kernel code to be compiled and run in a GpuUnitWorkload.
Definition at line 54 of file GpuKernelSourceCode.h.
|
inline |
Get kernel argument list.
Definition at line 119 of file GpuKernelSourceCode.h.
Referenced by GpuKernelSourceCode::arguments().
|
inline |
Set kernel argument list.
Definition at line 88 of file GpuKernelSourceCode.h.
References GpuKernelSourceCode::arguments().
Referenced by GpuWorkloadSourceCode::add_unit_workload(), ClKernelRuntime::configure(), and GpuLogicalKernel::write_kernel_code().
|
inline |
Get kernel build options.
Definition at line 109 of file GpuKernelSourceCode.h.
|
inline |
Set kernel build options.
Definition at line 76 of file GpuKernelSourceCode.h.
Referenced by ClKernelRuntime::configure(), and GpuLogicalKernel::write_kernel_code().
|
inline |
|
inline |
Set kernel code.
Definition at line 64 of file GpuKernelSourceCode.h.
Referenced by ClKernelRuntime::configure(), and GpuLogicalKernel::write_kernel_code().
|
inline |
Get kernel config id string.
Definition at line 104 of file GpuKernelSourceCode.h.
|
inline |
Set kernel config id string.
Definition at line 70 of file GpuKernelSourceCode.h.
Referenced by ClKernelRuntime::configure(), and GpuLogicalKernel::write_kernel_code().
|
inline |
|
inline |
Set kernel name.
Definition at line 58 of file GpuKernelSourceCode.h.
Referenced by ClKernelRuntime::configure(), and GpuLogicalKernel::write_kernel_code().
|
inline |
Get kernel execution window.
Definition at line 114 of file GpuKernelSourceCode.h.
Referenced by GpuKernelSourceCode::window().
|
inline |
Set kernel execution window.
Definition at line 82 of file GpuKernelSourceCode.h.
References GpuKernelSourceCode::window().
Referenced by ClKernelRuntime::configure(), and GpuLogicalKernel::write_kernel_code().