Przeglądaj źródła

gcc-plugin: vector_scal example: unregister the handle, since it is not automatically done.

Cyril Roelandt 13 lat temu
rodzic
commit
a197141450
1 zmienionych plików z 2 dodań i 0 usunięć
  1. 2 0
      gcc-plugin/examples/vector_scal/vector_scal.c

+ 2 - 0
gcc-plugin/examples/vector_scal/vector_scal.c

@@ -184,6 +184,8 @@ main (void)
 
 #pragma starpu wait
 
+#pragma starpu unregister vector
+
     valid = check (NX, vector, FACTOR);
 
   } /* VECTOR is automatically freed here.  */