Files
ROCm/docs/reference/gpu_libraries/math.md
Lisa 4813f1f37d language cleanup of ROCm docs (#2380)
* remove 'the'

* fix linking for GitHub Known Issues in nav tree

---------

Co-authored-by: Lisa Delaney <lisa.delaney@amd.com>
2023-08-15 09:32:30 -06:00

47 lines
1.4 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](linear_algebra)
- {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>`
:::
:::{grid-item-card} [Fast Fourier Transforms](fft)
- {doc}`rocFFT <rocfft:index>`
- {doc}`hipFFT <hipfft:index>`
:::
:::{grid-item-card} [Random Numbers](rand)
- {doc}`rocRAND <rocrand:index>`
- {doc}`hipRAND <hiprand:index>`
:::
::::