diff options
Diffstat (limited to 'src/core/CL')
-rw-r--r-- | src/core/CL/CLCompileContext.cpp | 6 | ||||
-rw-r--r-- | src/core/CL/ICLKernel.h | 1 |
2 files changed, 5 insertions, 2 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 diff --git a/src/core/CL/ICLKernel.h b/src/core/CL/ICLKernel.h index d52b105507..224b68af70 100644 --- a/src/core/CL/ICLKernel.h +++ b/src/core/CL/ICLKernel.h @@ -44,7 +44,6 @@ namespace experimental { namespace dynamic_fusion { -struct TensorBinding; struct ClExecutionDescriptor; } // namespace dynamic_fusion } // namespace experimental |