Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions docs/build.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,18 @@ cmake .. -DSD_CUDA=ON
cmake --build . --config Release
```

### CUDA Architectures

Different NVIDIA GPUs have different CUDA architecture: [CUDA GPU Compute Capability](https://developer.nvidia.com/cuda-gpus)

To build for multiple GPU architectures (matching the GitHub CI releases), use `-DCMAKE_CUDA_ARCHITECTURES=90;89;86;80;75`:

```shell
mkdir build && cd build
cmake .. -DSD_CUDA=ON -DCMAKE_CUDA_ARCHITECTURES=90;89;86;80;75
cmake --build . --config Release
```

## Build with HipBLAS

This provides GPU acceleration using AMD GPU. Make sure to have the ROCm toolkit installed.
Expand Down