You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 21, 2024. It is now read-only.
Allocated 1535 bytes of temp storage
Invoking spmv_kernel<<<{2,-1,1}, 128, 0, 0>>>(), 7 items per thread, 12 SM occupancy
CUDA API failed at line 62 with error: invalid configuration argument (9)
I believe this error occurs due to an incorrect gridDim.y calculated parameter. By varying num_rows, num_cols, and num_nonzeros in the example, it is possible to have this parameter be 1, 0, or -1.
This behavior occurs with both the CUDA 11.2 included CUB as well as the most recent CUB dependency within the Thrust library downloaded and compiled from Github. This error additionally occurs with many of the matrixes in the suitesparse collection, and is not an artifact of the toy matrix defined in the above program.
Summary: The
cub::DeviceSpmv::CsrMV
function frequently fails witherror: invalid configuration argument (9)
due to incorrect kernel launch bounds.Example Program:
Output:
I believe this error occurs due to an incorrect gridDim.y calculated parameter. By varying
num_rows
,num_cols
, andnum_nonzeros
in the example, it is possible to have this parameter be 1, 0, or -1.This behavior occurs with both the CUDA 11.2 included CUB as well as the most recent CUB dependency within the Thrust library downloaded and compiled from Github. This error additionally occurs with many of the matrixes in the suitesparse collection, and is not an artifact of the toy matrix defined in the above program.
System Specs:
CPU: Intel Xeon E5-2698
GPU: V100
nvcc 11.2.152
g++ 9.3.0
The text was updated successfully, but these errors were encountered: