<!--
{
  "availability" : [
    "Reality Composer Pro: -",
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: 27.0.0 -",
    "macOS: 27.0.0 -",
    "tvOS: 27.0.0 -",
    "visionOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "ComputeGraph",
  "identifier" : "/documentation/ComputeGraph/AddressSpace",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "Compute Graph"
    ],
    "preciseIdentifier" : "s:12ComputeGraph12AddressSpaceO"
  },
  "title" : "AddressSpace"
}
-->

# AddressSpace

A GPU memory address space.

```
enum AddressSpace
```

## Overview

Used to indicate where variables and buffers reside.

## Topics

### Enumeration Cases

[`case constant`](/documentation/ComputeGraph/AddressSpace/constant)

[`case device`](/documentation/ComputeGraph/AddressSpace/device)

[`case thread`](/documentation/ComputeGraph/AddressSpace/thread)

[`case threadgroup`](/documentation/ComputeGraph/AddressSpace/threadgroup)

## Relationships

### Conforms To

[`Encodable`](/documentation/Swift/Encodable)

[`Equatable`](/documentation/Swift/Equatable)

[`Sendable`](/documentation/Swift/Sendable)

[`Hashable`](/documentation/Swift/Hashable)

[`Decodable`](/documentation/Swift/Decodable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)