aboutsummaryrefslogtreecommitdiff
path: root/arm_compute/core/CL/CLKernelLibrary.h
diff options
context:
space:
mode:
Diffstat (limited to 'arm_compute/core/CL/CLKernelLibrary.h')
-rw-r--r--arm_compute/core/CL/CLKernelLibrary.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/arm_compute/core/CL/CLKernelLibrary.h b/arm_compute/core/CL/CLKernelLibrary.h
index f0dc0b24cf..97537c05d0 100644
--- a/arm_compute/core/CL/CLKernelLibrary.h
+++ b/arm_compute/core/CL/CLKernelLibrary.h
@@ -329,6 +329,12 @@ public:
*/
void add_built_program(const std::string &built_program_name, cl::Program program);
+ /** Returns true if FP16 is supported by the CL device
+ *
+ * @return true if the CL device supports FP16
+ */
+ bool fp16_supported() const;
+
private:
/** Load program and its dependencies.
*