---
title: hazardTrackingMode
framework: metal
role: symbol
role_heading: Instance Property
path: metal/mtltensordescriptor/hazardtrackingmode
---

# hazardTrackingMode

A value that configures the hazard tracking of tensors you create with this descriptor.

## Declaration

```swift
var hazardTrackingMode: MTLHazardTrackingMode { get set }
```

## Discussion

Discussion The default value of this property is MTLHazardTrackingMode.default.
