aboutsummaryrefslogtreecommitdiff
path: root/src/core/CL/CLKernelLibrary.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/CL/CLKernelLibrary.cpp')
-rw-r--r--src/core/CL/CLKernelLibrary.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/CL/CLKernelLibrary.cpp b/src/core/CL/CLKernelLibrary.cpp
index c7c08d4b49..caf017d984 100644
--- a/src/core/CL/CLKernelLibrary.cpp
+++ b/src/core/CL/CLKernelLibrary.cpp
@@ -840,3 +840,8 @@ cl::NDRange CLKernelLibrary::default_ndrange() const
{
return cl::NDRange(128u, 1);
}
+
+std::string CLKernelLibrary::get_device_version()
+{
+ return _device.getInfo<CL_DEVICE_VERSION>();
+}