aboutsummaryrefslogtreecommitdiff
path: root/src/core/CL/CLCompileContext.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/CL/CLCompileContext.cpp')
-rw-r--r--src/core/CL/CLCompileContext.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/core/CL/CLCompileContext.cpp b/src/core/CL/CLCompileContext.cpp
index fce8798b48..ea03d59fc2 100644
--- a/src/core/CL/CLCompileContext.cpp
+++ b/src/core/CL/CLCompileContext.cpp
@@ -232,7 +232,7 @@ void CLCompileContext::set_context(cl::Context context)
std::string CLCompileContext::generate_build_options(const StringSet &build_options_set, const std::string &kernel_path) const
{
std::string concat_str;
- bool ext_supported = false;
+ bool ext_supported = false;
std::string ext_buildopts;
#if defined(ARM_COMPUTE_DEBUG_ENABLED)
@@ -399,4 +399,8 @@ int32_t CLCompileContext::get_ddk_version() const
return -1;
}
+GPUTarget CLCompileContext::get_gpu_target() const
+{
+ return _device.target();
+}
} // namespace arm_compute