From d727e85363aa7666e3fceb6967b668a3ac8d146e Mon Sep 17 00:00:00 2001 From: Anthony Barbier Date: Fri, 20 Apr 2018 11:05:29 +0100 Subject: 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 Tested-by: Jenkins Reviewed-by: Georgios Pinitas --- arm_compute/core/CL/CLHelpers.h | 4 ++-- arm_compute/core/CL/CLTypes.h | 2 +- arm_compute/core/CL/ICLKernel.h | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'arm_compute/core/CL') 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; } -- cgit v1.2.1