completionMarker_ = completionMarker;
cellInfo_.cell = cell.data();
- wallcycle_start_nocount(wcycle_, ewcLAUNCH_GPU);
+ wallcycle_start_nocount(wcycle_, WallCycleCounter::LaunchGpu);
reallocateDeviceBuffer(
&cellInfo_.d_cell, numAtoms_, &cellInfo_.cellSize, &cellInfo_.cellSizeAlloc, deviceContext_);
copyToDeviceBuffer(&cellInfo_.d_cell,
deviceStream_,
GpuApiCallBehavior::Async,
nullptr);
- wallcycle_stop(wcycle_, ewcLAUNCH_GPU);
+ wallcycle_stop(wcycle_, WallCycleCounter::LaunchGpu);
dependencyList_.clear();
};
void GpuForceReduction::Impl::execute()
{
- wallcycle_start_nocount(wcycle_, ewcLAUNCH_GPU);
- wallcycle_sub_start(wcycle_, ewcsLAUNCH_GPU_NB_F_BUF_OPS);
+ wallcycle_start_nocount(wcycle_, WallCycleCounter::LaunchGpu);
+ wallcycle_sub_start(wcycle_, WallCycleSubCounter::LaunchGpuNBFBufOps);
if (numAtoms_ == 0)
{
completionMarker_->markEvent(deviceStream_);
}
- wallcycle_sub_stop(wcycle_, ewcsLAUNCH_GPU_NB_F_BUF_OPS);
- wallcycle_stop(wcycle_, ewcLAUNCH_GPU);
+ wallcycle_sub_stop(wcycle_, WallCycleSubCounter::LaunchGpuNBFBufOps);
+ wallcycle_stop(wcycle_, WallCycleCounter::LaunchGpu);
}
GpuForceReduction::Impl::~Impl(){};