From 57ada239bbb4f08350f1f3f9ca89bc5a4dd97053 Mon Sep 17 00:00:00 2001 From: Andreas Kloeckner Date: Mon, 6 Aug 2018 11:24:52 -0500 Subject: [PATCH] Fix compilation of enqueue_migrate_mem_object_ext with gcc 8.2 --- pyopencl/compyte | 2 +- src/wrapper/wrap_cl.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pyopencl/compyte b/pyopencl/compyte index fb6ba114..49e670e0 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 95ebc9b0..6ee2e33b 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 -- GitLab