14#include "arccore/accelerator/AcceleratorGlobal.h"
17#include "arccore/accelerator/Atomic.h"
18#include "arccore/accelerator/LocalMemory.h"
20#include "arccore/accelerator/GenericFilterer.h"
21#include "arccore/accelerator/GenericPartitioner.h"
22#include "arccore/accelerator/GenericReducer.h"
23#include "arccore/accelerator/GenericScanner.h"
24#include "arccore/accelerator/GenericSorter.h"
46getBadPolicyMessage(eExecutionPolicy policy)
49 case eExecutionPolicy::CUDA:
50 return "Requesting CUDA kernel execution but the kernel is not compiled with CUDA."
51 " You need to compile the file containing this kernel with CUDA compiler.";
52 case eExecutionPolicy::HIP:
53 return "Requesting HIP kernel execution but the kernel is not compiled with HIP."
54 " You need to compile the file containing this kernel with HIP compiler.";
55 case eExecutionPolicy::SYCL:
56 return "Requesting SYCL kernel execution but the kernel is not compiled with SYCL."
57 " You need to compile the file containing this kernel with SYCL compiler.";
61 return String::format(
"Invalid execution policy '{0}'", policy);
Types and functions for managing synchronizations on accelerators.
Unicode character string.