Commit c0564d6b authored by THIBAULT Samuel's avatar THIBAULT Samuel
Browse files

Advise to use enable-maxnodes=1

(cherry picked from commit 3531a270)
(cherry picked from commit 0b2e14f1)
parent 0b69455c
......@@ -46,6 +46,8 @@ synchronize the execution of tasks.
\section ConfigurationImprovePerformance Configuration Which May Improve Performance
If you do not plan to use support for GPUs or out-of-core, i.e. not use StarPU's ability to manage data coherency between several memory nodes, the \c configure option \ref enable-maxnodes "--enable-maxnodes=1" allows to considerably reduce StarPU's memory management overhead.
The \ref enable-fast "--enable-fast" configuration option disables all
assertions. This makes StarPU more performant for really small tasks by
disabling all sanity checks. Only use this for measurements and production, not for development, since this will drop all basic checks.
......
......@@ -249,6 +249,13 @@ starpu_data_handle_t STARPU_PLU(get_block_handle)(unsigned i, unsigned j)
return dataA_handles[j+i*nblocks];
}
#if STARPU_MAXNODES == 1
/* Cannot register a disk */
int main(int argc, char **argv)
{
return STARPU_TEST_SKIPPED;
}
#else
int main(int argc, char **argv)
{
int rank;
......@@ -400,3 +407,4 @@ int main(int argc, char **argv)
return 0;
}
#endif
......@@ -26,6 +26,13 @@
#include <math.h>
#include "../helper.h"
#if STARPU_MAXNODES == 1
/* Cannot register a disk */
int main(int argc, char **argv)
{
return STARPU_TEST_SKIPPED;
}
#else
/*
* Try to write into disk memory
* Use mechanism to push datas from main ram to disk ram
......@@ -242,3 +249,4 @@ int main(void)
STARPU_CHECK_RETURN_VALUE(-errno, "rmdir '%s'\n", s);
return ret;
}
#endif
......@@ -49,6 +49,12 @@ int main(int argc, char **argv)
{
return STARPU_TEST_SKIPPED;
}
#elif STARPU_MAXNODES == 1
/* Cannot register a disk */
int main(int argc, char **argv)
{
return STARPU_TEST_SKIPPED;
}
#else
int dotest(struct starpu_disk_ops *ops, void *param)
......
......@@ -32,6 +32,12 @@ int main(void)
{
return STARPU_TEST_SKIPPED;
}
#elif STARPU_MAXNODES == 1
/* Cannot register a disk */
int main(int argc, char **argv)
{
return STARPU_TEST_SKIPPED;
}
#else
/*
......
......@@ -57,6 +57,12 @@ int main(int argc, char **argv)
{
return STARPU_TEST_SKIPPED;
}
#elif STARPU_MAXNODES == 1
/* Cannot register a disk */
int main(int argc, char **argv)
{
return STARPU_TEST_SKIPPED;
}
#else
const struct starpu_data_copy_methods my_vector_copy_data_methods_s;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment