diff options
author | Jenkins <bsgcomp@arm.com> | 2018-05-23 11:36:53 +0100 |
---|---|---|
committer | Anthony Barbier <anthony.barbier@arm.com> | 2018-05-23 14:55:11 +0100 |
commit | b3a371bc429d2ba45e56baaf239d8200c2662a74 (patch) | |
tree | 554525e415c303d64a08722a755397852ebbb8e4 /tests/main.cpp | |
parent | 67c8c91522e5be8156b77f57e63c0253535c902a (diff) | |
download | armcl-master.tar.gz armcl-master.tar.bz2 armcl-master.zip |
Diffstat (limited to 'tests/main.cpp')
-rw-r--r-- | tests/main.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/main.cpp b/tests/main.cpp index 1f3c365c0..4a8a82d49 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())); { |