Explorar o código

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

Cyril Roelandt %!s(int64=13) %!d(string=hai) anos
pai
achega
a197141450
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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.  */