<!--
{
  "availability" : [
    "iOS: 11.3.0 -",
    "iPadOS: 11.3.0 -",
    "macCatalyst: 13.0.0 -",
    "macOS: 10.13.4 -",
    "tvOS: 11.3.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "MetalPerformanceShaders",
  "identifier" : "/documentation/MetalPerformanceShaders/MPSImageBatchSynchronize(_:_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "Metal Performance Shaders"
    ],
    "preciseIdentifier" : "c:@F@MPSImageBatchSynchronize"
  },
  "title" : "MPSImageBatchSynchronize(_:_:)"
}
-->

# MPSImageBatchSynchronize(_:_:)

Removes any copy of the specified image batch from the device’s caches, and, if needed, invalidates any CPU caches.

```
func MPSImageBatchSynchronize(_ batch: [MPSImage], _ cmdBuf: any MTLCommandBuffer)
```

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)