Explorar o código

forget to unlink fic

Corentin Salingue %!s(int64=12) %!d(string=hai) anos
pai
achega
98e5d71bb8

+ 1 - 0
doc/doxygen/Makefile.am

@@ -60,6 +60,7 @@ chapters =	\
 	chapters/code/vector_scal_opencl.c \
 	chapters/code/vector_scal_opencl_codelet.cl \
 	chapters/code/disk_copy.c \
+	chapters/code/disk_compute.c \
 	chapters/api/codelet_and_tasks.doxy \
 	chapters/api/cuda_extensions.doxy \
 	chapters/api/data_interfaces.doxy \

+ 4 - 3
doc/doxygen/chapters/out_of_core.doxy

@@ -45,11 +45,12 @@ uses fread/fwrite functions.
 
 All structures are in \ref API_Out_Of_Core .
 
-\section ExampleDiskCopy Example: disk_copy
-
-
+\section ExampleDiskCopy Examples: disk_copy
 
 \snippet disk_copy.c To be included
 
+\section ExampleDiskCompute Examples: disk_compute
+
+\snippet disk_compute.c To be included
 
 */

+ 2 - 0
tests/disk/disk_compute.c

@@ -102,6 +102,8 @@ int main(int argc, char **argv)
 	starpu_free_flags(A, NX*sizeof(double), STARPU_MALLOC_COUNT);
 	starpu_free_flags(C, NX*sizeof(double), STARPU_MALLOC_COUNT);
 
+	unlink("/tmp/STARPU_DISK_COMPUTE_DATA");
+
 	/* terminate StarPU, no task can be submitted after */
 	starpu_shutdown();