MTLCounterSamplingPoint.atDispatchBoundary
Counter sampling is allowed between kernel dispatches in a compute pass.
Declaration
case atDispatchBoundaryMentioned in
Discussion
When a Metal device instance supports this sampling boundary, you can call the sampleCounters(sampleBuffer:sampleIndex:barrier:) method on an MTLComputeCommandEncoder to sample the counters between individual dispatch commands.