Преглед изворни кода

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);