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

@@ -23,6 +23,11 @@
#include <CL/opencl.h>
/* Helper to return a string containing device information for the specified
* device info parameter. */
std::string get_device_info_string(cl_device_id device,
cl_device_info param_name);
/* Determines if an extension is supported by a device. */
int is_extension_available(cl_device_id device, const char *extensionName);