diff --git a/pyopencl/compyte b/pyopencl/compyte index fb6ba114d9d906403d47b0aaf69e2fe4cef382f2..49e670e0ab7bbc822032196b3478522c04168d6f 160000 --- a/pyopencl/compyte +++ b/pyopencl/compyte @@ -1 +1 @@ -Subproject commit fb6ba114d9d906403d47b0aaf69e2fe4cef382f2 +Subproject commit 49e670e0ab7bbc822032196b3478522c04168d6f diff --git a/src/wrapper/wrap_cl.hpp b/src/wrapper/wrap_cl.hpp index 95ebc9b0448870973aa9843b6c17944d7cc14c87..6ee2e33ba6a3d1dcca0e174f15eee0342fdb6083 100644 --- a/src/wrapper/wrap_cl.hpp +++ b/src/wrapper/wrap_cl.hpp @@ -1685,7 +1685,7 @@ namespace pyopencl PYOPENCL_CALL_GUARDED(clGetCommandQueueInfo, (cq.data(), CL_QUEUE_DEVICE, sizeof(dev), &dev, NULL)); cl_platform_id plat; - PYOPENCL_CALL_GUARDED(clGetDeviceInfo, (cq.data(), CL_DEVICE_PLATFORM, + PYOPENCL_CALL_GUARDED(clGetDeviceInfo, (dev, CL_DEVICE_PLATFORM, sizeof(plat), &plat, NULL)); // }}} #endif