Skip to content

Add SELLHIP

Hong Zhang requested to merge hongzh/sell-hip into main

Add SELLHIP to support MatSELL on AMD GPUs. The SpMV kernels are equivalent to their CUDA version except the default warp size is different -- 32 for NVIDIA GPUs and 64 for AMD GPUs.

A quick comparison with AIJHIPSPARSE

Tests were performed on petsc-gpu-02 using three matrices selected from SuiteSparse

MATRIX_LIST_FILE=matrix_list_test.txt FORMATS="csr,sell" EXECUTOR="hip" bash run_petsc_benchmarks.sh
matrix ID CSR SELL
1138_bus 6.7e-5 s 1.4e-5 s
494_bus 6.6e-5 s 1.3e-5 s
662_bus 7.5e-5 s 1.3e-5 s
Edited by Hong Zhang

Merge request reports