Samuel Thibault лет назад: 12
Родитель
Сommit
e755e17bdc
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      tests/parallel_tasks/cuda_only.c

+ 2 - 0
tests/parallel_tasks/cuda_only.c

@@ -99,6 +99,8 @@ int main(int argc, char **argv)
 	STARPU_RETURN(EXIT_SUCCESS);
 
 enodev:
+	task->destroy = 0;
+	starpu_task_destroy(task);
 	starpu_data_unregister(handle);
 	fprintf(stderr, "WARNING: No one can execute this task\n");
 	/* yes, we do not perform the computation but we did detect that no one