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

# ceilMode

Affects how MPSGraph computes the output size: if set to YES then output size is computed by rounding up instead of down when dividing input size by stride.

## Declaration

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

## Discussion

Discussion Default value: NO.
