24.04
|
Component specific settings. More...
#include <ClComponentDepthwiseConv2d.h>
Public Member Functions | |
ClComponentDepthwiseConv2dSettings & | export_input_to_cl_image (bool cl_image) |
Set export_input_to_cl_image flag. More... | |
bool | export_input_to_cl_image () const |
Get export_input_to_cl_image flag. More... | |
ClComponentDepthwiseConv2dSettings & | export_weights_to_cl_image (bool cl_image) |
Set export_weights_to_cl_image flag. More... | |
bool | export_weights_to_cl_image () const |
Get export_weights_to_cl_image flag. More... | |
ClComponentDepthwiseConv2dSettings & | fast_relaxed_math (bool fast_relaxed_math) |
Set fast_relaxed_math flag. More... | |
bool | fast_relaxed_math () const |
Get fast_relaxed_math flag. More... | |
ClComponentDepthwiseConv2dSettings & | is_fma_available (bool is_fma_available) |
Set is_fma_available flag. More... | |
bool | is_fma_available () const |
Get is_fma_available flag. More... | |
ClComponentDepthwiseConv2dSettings & | n0 (unsigned int n0) |
Set N0: number of columns processed by each thread. More... | |
unsigned int | n0 () const |
Get N0: number of columns processed by each thread. More... | |
ClComponentDepthwiseConv2dSettings & | m0 (unsigned int m0) |
Set M0: number of rows processed by each thread. More... | |
unsigned int | m0 () const |
Set M0: number of rows processed by each thread. More... | |
Component specific settings.
Definition at line 51 of file ClComponentDepthwiseConv2d.h.
bool export_input_to_cl_image | ( | ) | const |
Get export_input_to_cl_image flag.
Definition at line 47 of file ClComponentDepthwiseConv2d.cpp.
Settings & export_input_to_cl_image | ( | bool | cl_image | ) |
Set export_input_to_cl_image flag.
Definition at line 41 of file ClComponentDepthwiseConv2d.cpp.
Referenced by ClComponentDepthwiseConv2d::validate().
bool export_weights_to_cl_image | ( | ) | const |
Get export_weights_to_cl_image flag.
Definition at line 58 of file ClComponentDepthwiseConv2d.cpp.
Settings & export_weights_to_cl_image | ( | bool | cl_image | ) |
Set export_weights_to_cl_image flag.
Definition at line 52 of file ClComponentDepthwiseConv2d.cpp.
Referenced by ClComponentDepthwiseConv2d::validate(), and GpuCkwDepthwiseConv2d::write_component_code().
bool fast_relaxed_math | ( | ) | const |
Get fast_relaxed_math flag.
Definition at line 69 of file ClComponentDepthwiseConv2d.cpp.
Settings & fast_relaxed_math | ( | bool | fast_relaxed_math | ) |
Set fast_relaxed_math flag.
Definition at line 63 of file ClComponentDepthwiseConv2d.cpp.
References ClComponentDepthwiseConv2dSettings::fast_relaxed_math().
Referenced by ClComponentDepthwiseConv2dSettings::fast_relaxed_math().
bool is_fma_available | ( | ) | const |
Get is_fma_available flag.
Definition at line 80 of file ClComponentDepthwiseConv2d.cpp.
Referenced by ClComponentDepthwiseConv2dSettings::is_fma_available().
Settings & is_fma_available | ( | bool | is_fma_available | ) |
Set is_fma_available flag.
Definition at line 74 of file ClComponentDepthwiseConv2d.cpp.
References ClComponentDepthwiseConv2dSettings::is_fma_available().
unsigned int m0 | ( | ) | const |
Set M0: number of rows processed by each thread.
Definition at line 102 of file ClComponentDepthwiseConv2d.cpp.
Referenced by ClComponentDepthwiseConv2dSettings::m0().
Settings & m0 | ( | unsigned int | m0 | ) |
Set M0: number of rows processed by each thread.
Definition at line 96 of file ClComponentDepthwiseConv2d.cpp.
References ClComponentDepthwiseConv2dSettings::m0().
Referenced by ClComponentDepthwiseConv2d::validate().
unsigned int n0 | ( | ) | const |
Get N0: number of columns processed by each thread.
Definition at line 91 of file ClComponentDepthwiseConv2d.cpp.
Referenced by ClComponentDepthwiseConv2dSettings::n0().
Settings & n0 | ( | unsigned int | n0 | ) |
Set N0: number of columns processed by each thread.
Definition at line 85 of file ClComponentDepthwiseConv2d.cpp.
References ClComponentDepthwiseConv2dSettings::n0().
Referenced by ClComponentDepthwiseConv2d::validate().