Print the latest conformance version passed reported by the device (#959)

Fixes #798

Signed-off-by: Kévin Petit <kpet@free.fr>
This commit is contained in:
Kévin Petit
2020-09-22 17:04:02 +01:00
committed by GitHub
parent fffd4f2474
commit aee9131f87
3 changed files with 16 additions and 2 deletions

View File

@@ -24,8 +24,8 @@
/* Helper to return a string containing device information for the specified
* device info parameter. */
static std::string get_device_info_string(cl_device_id device,
cl_device_info param_name)
std::string get_device_info_string(cl_device_id device,
cl_device_info param_name)
{
size_t size = 0;
int err;