mirror of
https://github.com/ROCm/ROCm.git
synced 2026-02-04 03:15:28 -05:00
51 lines
1.5 KiB
Markdown
51 lines
1.5 KiB
Markdown
# Math libraries
|
|
|
|
AMD provides various math domain and support libraries as part of ROCm.
|
|
|
|
## rocLIB vs. hipLIB
|
|
|
|
Several libraries are prefixed with either "roc" or "hip".
|
|
The rocLIB variants (such as rocRAND, rocBLAS) are tested and optimized for AMD hardware using supported toolchains.
|
|
The hipLIB variants (such as hipRAND, hipBLAS) are compatibility layers that provide an interface akin to their
|
|
cuLIB (such as cuRAND, cuBLAS) variants while performing static dispatching of API calls to the appropriate
|
|
vendor libraries as their back-ends. Due to their static dispatch nature, support for either vendor is decided
|
|
at compile-time of the hipLIB in question. For dynamic dispatch between vendor implementations, refer to the
|
|
[Orochi](https://github.com/GPUOpen-LibrariesAndSDKs/Orochi) library.
|
|
|
|
::::{grid} 1 2 3 3
|
|
:gutter: 1
|
|
|
|
:::{grid-item-card}
|
|
**[Linear algebra libraries](./math-linear-algebra.md)**
|
|
|
|
* {doc}`rocBLAS <rocblas:index>`
|
|
* {doc}`hipBLAS <hipblas:index>`
|
|
* {doc}`hipBLASLt <hipblaslt:index>`
|
|
* {doc}`rocALUTION <rocalution:index>`
|
|
* {doc}`rocWMMA <rocwmma:index>`
|
|
* {doc}`rocSOLVER <rocsolver:index>`
|
|
* {doc}`hipSOLVER <hipsolver:index>`
|
|
* {doc}`rocSPARSE <rocsparse:index>`
|
|
* {doc}`hipSPARSE <hipsparse:index>`
|
|
* {doc}`hipSPARSELt <hipsparselt:index>`
|
|
|
|
:::
|
|
|
|
:::{grid-item-card}
|
|
**[Fast Fourier transforms (FFTs)](./math-fft.md)**
|
|
|
|
* {doc}`rocFFT <rocfft:index>`
|
|
* {doc}`hipFFT <hipfft:index>`
|
|
|
|
:::
|
|
|
|
:::{grid-item-card}
|
|
**[Random numbers](./rand.md)**
|
|
|
|
* {doc}`rocRAND <rocrand:index>`
|
|
* {doc}`hipRAND <hiprand:index>`
|
|
|
|
:::
|
|
|
|
::::
|