Просмотр исходного кода

Add missing unregistration call

Samuel Thibault лет назад: 4
Родитель
Сommit
33ce46381b
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      tests/datawizard/partition_dep.c

+ 1 - 0
tests/datawizard/partition_dep.c

@@ -98,6 +98,7 @@ int main(int argc, char **argv)
         return ret;
 
 enodev:
+	starpu_data_unpartition(handle, STARPU_MAIN_RAM);
 	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