<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "macOS: -",
    "tvOS: -",
    "visionOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "Metal",
  "identifier" : "/documentation/Metal/MTLDispatchThreadsIndirectArguments/init(threadsPerGrid:threadsPerThreadgroup:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "Metal"
    ],
    "preciseIdentifier" : "s:So35MTLDispatchThreadsIndirectArgumentsa14threadsPerGrid0eF11ThreadgroupABs6UInt32V_A2Ft_AF_A2Fttcfc"
  },
  "title" : "init(threadsPerGrid:threadsPerThreadgroup:)"
}
-->

# init(threadsPerGrid:threadsPerThreadgroup:)

```
init(threadsPerGrid: (UInt32, UInt32, UInt32), threadsPerThreadgroup: (UInt32, UInt32, UInt32))
```

---

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)