14#include "arcane/accelerator/AcceleratorGlobal.h"
18#include "arcane/AcceleratorRuntimeInitialisationInfo.h"
51void Arcane::Accelerator::
52initializeRunner(Runner& runner, ITraceMng* tm,
53 const AcceleratorRuntimeInitialisationInfo& acc_info)
55 arcaneInitializeRunner(runner, tm, acc_info);
62getBadPolicyMessage(eExecutionPolicy policy)
65 case eExecutionPolicy::CUDA:
66 return "Requesting CUDA kernel execution but the kernel is not compiled with CUDA."
67 " You need to compile the file containing this kernel with CUDA compiler.";
68 case eExecutionPolicy::HIP:
69 return "Requesting HIP kernel execution but the kernel is not compiled with HIP."
70 " You need to compile the file containing this kernel with HIP compiler.";
71 case eExecutionPolicy::SYCL:
72 return "Requesting SYCL kernel execution but the kernel is not compiled with SYCL."
73 " You need to compile the file containing this kernel with SYCL compiler.";
77 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.