Make use of cl_context_properties[] to clCreateContext(), even if OpenCL specification allow the use of NULL, some runtimes fail without

This commit is contained in:
Jens Steube
2016-07-08 14:38:57 +02:00
parent 450b779b91
commit 5909bbb7b7
3 changed files with 13 additions and 2 deletions

View File

@@ -1012,6 +1012,8 @@ struct __hc_device_param
double nvidia_spin_damp;
cl_platform_id platform;
cl_uint device_vendor_id;
cl_uint platform_vendor_id;