aboutsummaryrefslogtreecommitdiff
path: root/tests/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/main.cpp')
-rw-r--r--tests/main.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/main.cpp b/tests/main.cpp
index 1f3c365c03..4a8a82d490 100644
--- a/tests/main.cpp
+++ b/tests/main.cpp
@@ -130,6 +130,16 @@ int main(int argc, char **argv)
{
p->print_entry("Version", build_information());
p->print_entry("Seed", support::cpp11::to_string(seed->value()));
+#ifdef ARM_COMPUTE_CL
+ if(opencl_is_available())
+ {
+ p->print_entry("CL_DEVICE_VERSION", CLKernelLibrary::get().get_device_version());
+ }
+ else
+ {
+ p->print_entry("CL_DEVICE_VERSION", "Unavailable");
+ }
+#endif /* ARM_COMPUTE_CL */
p->print_entry("Iterations", support::cpp11::to_string(options.iterations->value()));
p->print_entry("Threads", support::cpp11::to_string(options.threads->value()));
{