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"
45getBadPolicyMessage(eExecutionPolicy policy)
48 case eExecutionPolicy::CUDA:
49 return "Requesting CUDA kernel execution but the kernel is not compiled with CUDA."
50 " You need to compile the file containing this kernel with CUDA compiler.";
51 case eExecutionPolicy::HIP:
52 return "Requesting HIP kernel execution but the kernel is not compiled with HIP."
53 " You need to compile the file containing this kernel with HIP compiler.";
54 case eExecutionPolicy::SYCL:
55 return "Requesting SYCL kernel execution but the kernel is not compiled with SYCL."
56 " You need to compile the file containing this kernel with SYCL compiler.";
60 return String::format(
"Invalid execution policy '{0}'", policy);
Types et fonctions pour gérer les synchronisations sur les accélérateurs.
Chaîne de caractères unicode.