Explorar o código

SOCL: fix dependency

Sylvain Henry %!s(int64=12) %!d(string=hai) anos
pai
achega
db97716c0f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      socl/examples/basic/basic.c

+ 1 - 1
socl/examples/basic/basic.c

@@ -167,7 +167,7 @@ int main(int UNUSED(argc), char** UNUSED(argv)) {
    check(err, "clEnqueueNDRangeKernel");
 
    printf("Enqueueing ReadBuffer...\n");
-   err = clEnqueueReadBuffer(cq, dm, CL_FALSE, 0, REALSIZE, d, 0, NULL, &eventR);
+   err = clEnqueueReadBuffer(cq, dm, CL_FALSE, 0, REALSIZE, d, 1, &eventK, &eventR);
    check(err, "clEnqueueReadBuffer");
 
    printf("Finishing queue...\n");