Contents

MTLCounterSamplingPoint.atDispatchBoundary

Counter sampling is allowed between kernel dispatches in a compute pass.

Declaration

case atDispatchBoundary

Mentioned 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.

See Also

Reading sampling boundary types