# `Vllm.Platforms.PlatformEnum`
[🔗](https://github.com/nshkrdotcom/vllm/blob/v0.3.0/lib/snakebridge_generated/vllm/platforms/platform_enum.ex#L7)

Enum members for `PlatformEnum`.

Members:
- `CUDA` = `1`
- `ROCM` = `2`
- `TPU` = `3`
- `XPU` = `4`
- `CPU` = `5`
- `OOT` = `6`
- `UNSPECIFIED` = `7`

# `t`

```elixir
@opaque t()
```

# `cpu`

```elixir
@spec cpu(SnakeBridge.Ref.t()) :: {:ok, term()} | {:error, Snakepit.Error.t()}
```

# `cuda`

```elixir
@spec cuda(SnakeBridge.Ref.t()) :: {:ok, term()} | {:error, Snakepit.Error.t()}
```

# `name`

```elixir
@spec name(SnakeBridge.Ref.t()) :: {:ok, term()} | {:error, Snakepit.Error.t()}
```

# `new`

```elixir
@spec new(keyword()) :: {:ok, SnakeBridge.Ref.t()} | {:error, Snakepit.Error.t()}
```

Constructs `PlatformEnum`.

# `oot`

```elixir
@spec oot(SnakeBridge.Ref.t()) :: {:ok, term()} | {:error, Snakepit.Error.t()}
```

# `rocm`

```elixir
@spec rocm(SnakeBridge.Ref.t()) :: {:ok, term()} | {:error, Snakepit.Error.t()}
```

# `tpu`

```elixir
@spec tpu(SnakeBridge.Ref.t()) :: {:ok, term()} | {:error, Snakepit.Error.t()}
```

# `unspecified`

```elixir
@spec unspecified(SnakeBridge.Ref.t()) :: {:ok, term()} | {:error, Snakepit.Error.t()}
```

# `value`

```elixir
@spec value(SnakeBridge.Ref.t()) :: {:ok, term()} | {:error, Snakepit.Error.t()}
```

# `xpu`

```elixir
@spec xpu(SnakeBridge.Ref.t()) :: {:ok, term()} | {:error, Snakepit.Error.t()}
```

---

*Consult [api-reference.md](api-reference.md) for complete listing*
