---
title: "kernelSizes(forSourceIndex:)"
framework: metalperformanceshaders
role: symbol
role_heading: Instance Method
path: "metalperformanceshaders/mpsndarraymultiarybase/kernelsizes(forsourceindex:)"
---

# kernelSizes(forSourceIndex:)

## Declaration

```swift
func kernelSizes(forSourceIndex sourceIndex: Int) -> MPSNDArraySizes
```
