but, sample code of cusparse is not updated https://docs.nvidia.com/cuda/cusparse/index.html#csric02 I dont like trial and error, so wait for the sample code to be updated.