Mentions légales du service

Skip to content
Snippets Groups Projects
Commit c418e3fb authored by PRUVOST Florent's avatar PRUVOST Florent
Browse files

ooc test: create a ooc subdirectory in the build dir to write data on disk...

ooc test: create a ooc subdirectory in the build dir to write data on disk instead of /tmp/starpu_ooc because we must guarantee that the directory exists
parent 764be57d
No related branches found
No related tags found
No related merge requests found
...@@ -6,6 +6,10 @@ set(TESTLIST ...@@ -6,6 +6,10 @@ set(TESTLIST
out_of_core out_of_core
) )
# OOC tests required to create a directory where the data will be written on disk
file(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/ooc)
# define tests
foreach(test ${TESTLIST}) foreach(test ${TESTLIST})
add_test(example_ooc_${test} ./${test}) add_test(example_ooc_${test} ./${test})
endforeach() endforeach()
...@@ -96,7 +96,7 @@ int main(int argc, char *argv[]) { ...@@ -96,7 +96,7 @@ int main(int argc, char *argv[]) {
/* limit ram memory */ /* limit ram memory */
if (iparam[IPARAM_OUTOFCORE] > 0) { if (iparam[IPARAM_OUTOFCORE] > 0) {
int new_dd = starpu_disk_register (&starpu_disk_unistd_o_direct_ops, int new_dd = starpu_disk_register (&starpu_disk_unistd_o_direct_ops,
(void*) "/tmp/starpu_ooc/", 1024*1024*10); (void*) "./ooc/", 1024*1024*10);
} }
MORSE_Desc_Create_User(&descA, NULL, MorseRealDouble, MORSE_Desc_Create_User(&descA, NULL, MorseRealDouble,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment