Commit f2c10d8d authored by BRAMAS Berenger's avatar BRAMAS Berenger
Browse files

Add a test to know if both scalfmm and starpu support cuda

parent d36b1758
......@@ -4,7 +4,9 @@
#define FSTARPUUTILS_HPP
/////////////////////////////////////////////////////
#include "../Utils/FGlobal.hpp"
/////////////////////////////////////////////////////
extern "C"{
#include <starpu.h>
......@@ -18,6 +20,16 @@ extern "C"{
/////////////////////////////////////////////////////
#if defined(STARPU_USE_CUDA) && defined(ScalFMM_USE_CUDA)
#define ScalFMM_ENABLE_CUDA_KERNEL
#else
#if defined(STARPU_USE_CUDA) || defined(ScalFMM_USE_CUDA)
#warning CUDA is turned off because it is not supported by ScalFMM AND StarPU.
#endif
#endif
/////////////////////////////////////////////////////
enum FStarPUTypes{
#ifdef STARPU_USE_CPU
FSTARPU_CPU_IDX = 0,
......
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