---
title: label
framework: metal
role: symbol
role_heading: Instance Property
path: metal/mtlcommandqueue/label
---

# label

An optional name that can help you identify the command queue.

## Declaration

```swift
var label: String? { get set }
```

## Discussion

Discussion Set labels to help you quickly identify a GPU at runtime in the Metal debugging and profiling tools. See Naming resources and commands.

## See Also

### Identifying the command queue

- [device](metal/mtlcommandqueue/device.md)
