---
title: AddressSpace
framework: ComputeGraph
role: symbol
role_heading: Enumeration
platforms: [iOS 27.0+, iPadOS 27.0+, Mac Catalyst 27.0+, macOS 27.0+, tvOS 27.0+, visionOS 27.0+]
path: computegraph/addressspace
---

# AddressSpace

A GPU memory address space.

## Declaration

```swift
enum AddressSpace
```

## Overview

Overview Used to indicate where variables and buffers reside.

## Topics

### Enumeration Cases

- [AddressSpace.constant](computegraph/addressspace/constant.md)
- [AddressSpace.device](computegraph/addressspace/device.md)
- [AddressSpace.thread](computegraph/addressspace/thread.md)
- [AddressSpace.threadgroup](computegraph/addressspace/threadgroup.md)

## Relationships

### Conforms To

- [Decodable](swift/decodable.md)
- [Encodable](swift/encodable.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Graph resources

- [ComputeNodeGraph.SamplerSettings](computegraph/computenodegraph/samplersettings.md)
- [ComputeNodeGraph.SwizzleChannels](computegraph/computenodegraph/swizzlechannels.md)
