aboutsummaryrefslogtreecommitdiff
path: root/arm_compute
diff options
context:
space:
mode:
authorAnthony Barbier <anthony.barbier@arm.com>2018-04-20 11:05:29 +0100
committerAnthony Barbier <anthony.barbier@arm.com>2018-11-02 16:49:37 +0000
commitd727e85363aa7666e3fceb6967b668a3ac8d146e (patch)
tree8cda934d221abd05367c2a8c278853a5c2c6c828 /arm_compute
parente52a3000d2c13bc1b66ca66b3d12b6b836982394 (diff)
downloadComputeLibrary-d727e85363aa7666e3fceb6967b668a3ac8d146e.tar.gz
COMPMID-855: Get the library to work on non Mali GPUs
Change-Id: Ia6a7b7a9d8b10ebf6b3c6a0fffa10bdf5dd8d8ef Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/128381 Reviewed-by: Pablo Tello <pablo.tello@arm.com> Tested-by: Jenkins <bsgcomp@arm.com> Reviewed-by: Georgios Pinitas <georgios.pinitas@arm.com>
Diffstat (limited to 'arm_compute')
-rw-r--r--arm_compute/core/CL/CLHelpers.h4
-rw-r--r--arm_compute/core/CL/CLTypes.h2
-rw-r--r--arm_compute/core/CL/ICLKernel.h2
3 files changed, 4 insertions, 4 deletions
diff --git a/arm_compute/core/CL/CLHelpers.h b/arm_compute/core/CL/CLHelpers.h
index c7182656df..fe2d833148 100644
--- a/arm_compute/core/CL/CLHelpers.h
+++ b/arm_compute/core/CL/CLHelpers.h
@@ -150,14 +150,14 @@ bool device_supports_extension(const cl::Device &device, const char *extension_n
*
* @return True if the extension is supported
*/
-bool fp16_support(const cl::Device &device);
+bool fp16_supported(const cl::Device &device);
/** Helper function to check whether the arm_non_uniform_work_group_size extension is supported
*
* @param[in] device A CL device
*
* @return True if the extension is supported
*/
-bool non_uniform_workgroup_support(const cl::Device &device);
+bool arm_non_uniform_workgroup_supported(const cl::Device &device);
/** Helper function to check whether a gpu target is equal to the provided targets
*
* @param[in] target_to_check gpu target to check
diff --git a/arm_compute/core/CL/CLTypes.h b/arm_compute/core/CL/CLTypes.h
index 14c31fa396..ca487814a7 100644
--- a/arm_compute/core/CL/CLTypes.h
+++ b/arm_compute/core/CL/CLTypes.h
@@ -34,7 +34,7 @@ static const std::string default_config_id = "no_config_id";
/** Available GPU Targets */
enum class GPUTarget
{
- UNKNOWN = 0x000,
+ UNKNOWN = 0x101,
GPU_ARCH_MASK = 0xF00,
MIDGARD = 0x100,
BIFROST = 0x200,
diff --git a/arm_compute/core/CL/ICLKernel.h b/arm_compute/core/CL/ICLKernel.h
index e6700cd61e..2d7081956b 100644
--- a/arm_compute/core/CL/ICLKernel.h
+++ b/arm_compute/core/CL/ICLKernel.h
@@ -193,7 +193,7 @@ public:
*
* @param[in] lws_hint Local-Workgroup-Size to use
*/
- void set_lws_hint(cl::NDRange &lws_hint)
+ void set_lws_hint(const cl::NDRange &lws_hint)
{
_lws_hint = lws_hint;
}