소스 검색

Fix invoking opencl kernel

Samuel Thibault 5 년 전
부모
커밋
016704d313
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      tests/datawizard/interfaces/tensor/tensor_opencl.c

+ 1 - 1
tests/datawizard/interfaces/tensor/tensor_opencl.c

@@ -82,7 +82,7 @@ test_tensor_opencl_func(void *buffers[], void *args)
 					      sizeof(fail), &fail,
 					      0);
 
-	if (nargs != 8)
+	if (nargs != 10)
 	{
 		fprintf(stderr, "Failed to set argument #%d\n", nargs);
 		STARPU_OPENCL_REPORT_ERROR(err);