Explorar el Código

Fix invoking opencl kernel

Samuel Thibault hace 5 años
padre
commit
016704d313
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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);