|
@@ -17,6 +17,7 @@
|
|
#include <config.h>
|
|
#include <config.h>
|
|
#include <core/perfmodel/perfmodel.h>
|
|
#include <core/perfmodel/perfmodel.h>
|
|
#include "../helper.h"
|
|
#include "../helper.h"
|
|
|
|
+#include <unistd.h>
|
|
|
|
|
|
#ifdef STARPU_HAVE_WINDOWS
|
|
#ifdef STARPU_HAVE_WINDOWS
|
|
#include <io.h>
|
|
#include <io.h>
|
|
@@ -67,6 +68,7 @@ int _check_number(double val, int checknan)
|
|
int x = _starpu_read_double(f, "%lf", &lat);
|
|
int x = _starpu_read_double(f, "%lf", &lat);
|
|
int y = fscanf(f, "%s", str);
|
|
int y = fscanf(f, "%s", str);
|
|
fclose(f);
|
|
fclose(f);
|
|
|
|
+ unlink(filename);
|
|
|
|
|
|
/* check that what has been read is identical to what has been written */
|
|
/* check that what has been read is identical to what has been written */
|
|
int pass;
|
|
int pass;
|