From 5edcf8f27dc2d942bbc6f104ac8a43e00b56e553 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcel=20L=C3=BCtke=20Dreimann?= Date: Mon, 8 Aug 2022 10:55:50 +0200 Subject: [PATCH] fixed ocl command queue --- repos/hello_gpgpu/src/hello_gpgpu/CL/cl.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/repos/hello_gpgpu/src/hello_gpgpu/CL/cl.cc b/repos/hello_gpgpu/src/hello_gpgpu/CL/cl.cc index 42e0e374af..e6aa14dd04 100644 --- a/repos/hello_gpgpu/src/hello_gpgpu/CL/cl.cc +++ b/repos/hello_gpgpu/src/hello_gpgpu/CL/cl.cc @@ -1380,6 +1380,8 @@ clEnqueueNDRangeKernel(cl_command_queue command_queue, else // or extend queue { cl_command_queue n = (cl_command_queue)genode_allocator->alloc(sizeof(struct _cl_command_queue)); + n->next = NULL; + cmd->next = n; n->kc = kc; }