Browse Source

Fix invoking opencl kernel

Samuel Thibault 5 years ago
parent
commit
016704d313
1 changed files with 1 additions and 1 deletions
  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);