---
title: ceilMode
framework: metalperformanceshadersgraph
role: symbol
role_heading: Instance Property
path: metalperformanceshadersgraph/mpsgraphpooling2dopdescriptor/ceilmode
---

# ceilMode

Affects how the graph computes the output size.

## Declaration

```swift
var ceilMode: Bool { get set }
```

## Discussion

Discussion If set to YES then output size is computed by rounding up instead of down when dividing input size by stride. Default value: NO.
