diff --git a/projects/hip/docs/markdown/hip_porting_guide.md b/projects/hip/docs/markdown/hip_porting_guide.md index 34e0f22d5d..38ce0b4b99 100644 --- a/projects/hip/docs/markdown/hip_porting_guide.md +++ b/projects/hip/docs/markdown/hip_porting_guide.md @@ -45,6 +45,8 @@ and provides practical suggestions on how to port CUDA code and work through com + [/usr/include/c++/v1/memory:5172:15: error: call to implicitly deleted default constructor of 'std::__1::bad_weak_ptr' throw bad_weak_ptr();](#usrincludecv1memory517215-error-call-to-implicitly-deleted-default-constructor-of-std__1bad_weak_ptr-throw-bad_weak_ptr) * [HIP Environment Variables](#hip-environment-variables) * [Editor Highlighting](#editor-highlighting) + * [CUDA to HIP Math Library Equivalents](#libraries-convert) + @@ -576,3 +578,20 @@ HIP_VISIBLE_DEVICES = 0 : Only devices whose index is present in the ### Editor Highlighting See the utils/vim or utils/gedit directories to add handy highlighting to hip files. + + +### Library Equivalents + +| CUDA Library | ROCm Library | Comment | +|------- | --------- | ----- | +| cuBLAS | rocBLAS | Basic Linear Algebra Subroutines +| cuFFT | rocFFT | Fast Fourier Transfer Library +| cuSPARSE | rocSPARSE | Sparse BLAS + SPMV +| cuSolver | rocSolver | Lapack library +| AMG-X | rocALUTION | Sparse iterative solvers and preconditioners with Geometric and Algebraic MultiGrid +| Thrust | hipThrust | C++ parallel algorithms library +| CUB | rocPRIM | Low Level Optimized Parallel Primitives +| cuDNN | MIOpen | Deep learning Solver Library +| cuRAND | rocRAND | Random Number Generator Library +| EIGEN | EIGEN – HIP port | C++ template library for linear algebra: matrices, vectors, numerical solvers, +| NCCL | RCCL | Communications Primitives Library based on the MPI equivalents