소스 검색

SOCL: fix dependency

Sylvain Henry 12 년 전
부모
커밋
db97716c0f
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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");