24 #ifndef __ARM_COMPUTE_CLHELPERS_H__ 25 #define __ARM_COMPUTE_CLHELPERS_H__ 40 static constexpr
unsigned int max_cl_vector_width = 16;
CLVersion get_cl_version(const cl::Device &device)
Helper function to get the highest OpenCL version supported.
std::string get_data_size_from_data_type(const DataType &dt)
Get the size of a data type in number of bits.
CLVersion
Available OpenCL Version.
std::string get_cl_type_from_data_type(const DataType &dt)
Translates a tensor data type to the appropriate OpenCL type.
bool fp16_supported(const cl::Device &device)
Helper function to check whether the cl_khr_fp16 extension is supported.
This file contains all available output stages for GEMMLowp on OpenCL.
std::string get_underlying_cl_type_from_data_type(const DataType &dt)
Translates fixed point tensor data type to the underlying OpenCL type.
bool arm_non_uniform_workgroup_supported(const cl::Device &device)
Helper function to check whether the arm_non_uniform_work_group_size extension is supported...
GPUTarget
Available GPU Targets.
GPUTarget get_target_from_device(cl::Device &device)
Helper function to get the GPU target from CL device.
DataType
Available data types.
bool device_supports_extension(const cl::Device &device, const char *extension_name)
Helper function to check whether a given extension is supported.