aboutsummaryrefslogtreecommitdiff
path: root/src/core/CL/CLHelpers.cpp
diff options
context:
space:
mode:
authorGian Marco Iodice <gianmarco.iodice@arm.com>2019-03-15 10:13:05 +0000
committerGian Marco Iodice <gianmarco.iodice@arm.com>2019-03-20 11:21:46 +0000
commitb0c5037d94ba7073ccabb0ebaff54db320f184c4 (patch)
tree126f2332df60b6eff1e630b2585b2bd407501a20 /src/core/CL/CLHelpers.cpp
parent5ed7b5bc98feb848874730c9bb9c30759e58d453 (diff)
downloadComputeLibrary-b0c5037d94ba7073ccabb0ebaff54db320f184c4.tar.gz
COMPMID-2043: Add support for "dummy threads" in CLGEMMReshaped
Change-Id: I89403b97503fbb99f6a32f5d62b8c535ab26a7be Signed-off-by: Gian Marco Iodice <gianmarco.iodice@arm.com> Reviewed-on: https://review.mlplatform.org/c/877 Reviewed-by: Michele Di Giorgio <michele.digiorgio@arm.com> Tested-by: Arm Jenkins <bsgcomp@arm.com> Reviewed-by: Georgios Pinitas <georgios.pinitas@arm.com> Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'src/core/CL/CLHelpers.cpp')
-rw-r--r--src/core/CL/CLHelpers.cpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/core/CL/CLHelpers.cpp b/src/core/CL/CLHelpers.cpp
index 18ef185ac0..801347e200 100644
--- a/src/core/CL/CLHelpers.cpp
+++ b/src/core/CL/CLHelpers.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2016-2018 ARM Limited.
+ * Copyright (c) 2016-2019 ARM Limited.
*
* SPDX-License-Identifier: MIT
*
@@ -255,4 +255,11 @@ size_t preferred_vector_width(const cl::Device &device, const DataType dt)
return 1;
}
}
+
+bool preferred_dummy_work_items_support(const cl::Device &device)
+{
+ ARM_COMPUTE_UNUSED(device);
+ // TODO (COMPMID-2044)
+ return true;
+}
} // namespace arm_compute