BioDynaMo
v1.05.120-25dc9790
|
Go to the documentation of this file.
22 : frequency_(frequency), name_(name) {}
38 clone->implementations_[i] = imp->Clone();
40 clone->implementations_[i] =
nullptr;
71 "Compute target not supported");
void SetUp()
Forwards call to implementation's Setup function.
Operation(const std::string &name)
std::vector< OperationImpl * > implementations_
The different operation implementations for each supported compute target.
Contains code required by all agents.
void TearDown()
Forwards call to implementation's TearDown function.
static void Fatal(const std::string &location, const Args &... parts)
Prints fatal error message.
bool IsComputeTargetSupported(OpComputeTarget target)
OpComputeTarget target_
The target that this operation implementation is supposed to run on.
void SelectComputeTarget(OpComputeTarget target)
OpComputeTarget active_target_
The compute target that this operation will be executed on.
void AddOperationImpl(OpComputeTarget target, OperationImpl *impl)