summaryrefslogtreecommitdiff
path: root/src/cl_device_id.h
diff options
context:
space:
mode:
authorbsegovia <devnull@localhost>2011-08-04 03:22:41 +0000
committerKeith Packard <keithp@keithp.com>2012-08-10 16:14:42 -0700
commit8909ed64ff6832412961eee24e8eb5c4e91c2856 (patch)
tree3c9687497ffa7124cccfc1fdd326edf4c13f21f9 /src/cl_device_id.h
parent9ec8d606bcd297e76b043ea78cb5c7ef79fae1fe (diff)
Cleaned and simplified all test kernels and codes. Now everything is inside one reportory and kernels are compiled and sorted per generation
Diffstat (limited to 'src/cl_device_id.h')
-rw-r--r--src/cl_device_id.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cl_device_id.h b/src/cl_device_id.h
index 83f2afd4..3b2f1be5 100644
--- a/src/cl_device_id.h
+++ b/src/cl_device_id.h
@@ -107,5 +107,8 @@ extern cl_int cl_get_device_info(cl_device_id device,
void * param_value,
size_t * param_value_size_ret);
+/* Returns the Gen device ID */
+extern cl_int cl_device_get_version(cl_device_id device, cl_int *ver);
+
#endif /* __CL_DEVICE_ID_H__ */