summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/utilities.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/utilities.cc b/src/utilities.cc
index 7649b05c..851e6d9f 100644
--- a/src/utilities.cc
+++ b/src/utilities.cc
@@ -375,6 +375,7 @@ template <> bool PrecisionSupported<double2>(const Device &device) {
}
template <> bool PrecisionSupported<half>(const Device &device) {
auto extensions = device.Capabilities();
+ if (device.Name() == "Mali-T628") { return true; } // supports fp16 but not cl_khr_fp16 officially
return (extensions.find(kKhronosHalfPrecision) == std::string::npos) ? false : true;
}