Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 5d57800d authored by Mathieu Faverge's avatar Mathieu Faverge
Browse files

Update morse_starpu.h to enable compilation with version of StarPU without...

Update morse_starpu.h to enable compilation with version of StarPU without starpu_mpi_cache_receive support
parent 5a66372f
No related branches found
No related tags found
1 merge request!30Memaccess iscached
......@@ -92,10 +92,12 @@ int RUNTIME_desc_iscached(const MORSE_desc_t *A, int Am, int An);
#endif
#if defined(CHAMELEON_USE_MPI)
# if !defined(HAVE_STARPU_MPI_CACHED_RECEIVE)
# error "WAR dependencies need starpu_mpi_cached_receive support from StarPU"
# if defined(HAVE_STARPU_MPI_CACHED_RECEIVE)
# define RUNTIME_ACCESS_WRITE_CACHED(A, Am, An) if (morse_desc_iscached(A, Am, An)) __morse_need_submit = 1
# else
# warning "WAR dependencies need starpu_mpi_cached_receive support from StarPU 1.2.1 or greater"
# define RUNTIME_ACCESS_WRITE_CACHED(A, Am, An)
# endif
#define RUNTIME_ACCESS_WRITE_CACHED(A, Am, An) if (morse_desc_iscached(A, Am, An)) __morse_need_submit = 1
#else
#define RUNTIME_ACCESS_WRITE_CACHED(A, Am, An)
#endif
......
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