MPSStateBatchSynchronize(_:_:)
Removes any copy of the specified state batch from the device’s caches, and, if needed, invalidates any CPU caches.
Declaration
func MPSStateBatchSynchronize(_ batch: [MPSState], _ cmdBuf: any MTLCommandBuffer)Removes any copy of the specified state batch from the device’s caches, and, if needed, invalidates any CPU caches.
func MPSStateBatchSynchronize(_ batch: [MPSState], _ cmdBuf: any MTLCommandBuffer)