Skip to content

Aten looking for function cusparseDcsrmm2 in cuda 11.0.1 header but this is no more #40593

@mshaikh786

Description

@mshaikh786

🐛 Bug

I am compiling pytorch/1.5.0 with CUDA 11.0.1 and on trying to compile a target torch_cuda_generated_SparseCUDABlas.cu.o the error occurs complaining

pytorch-1.5.0/aten/src/ATen/native/sparse/cuda/SparseCUDABlas.cu(112): error: identifier "cusparseScsrmm2" is undefined
The cuda headers are on compile line so that is not the issue.
I searched that cuspares.h and cusparse_v2.h, both CUDA toolkit 11's in headers, don't exist anymore but do in CUDA 10.2.89 and below.

cc @malfet @ngimel

Metadata

Metadata

Assignees

No one assigned

    Labels

    module: buildBuild system issuesmodule: cudaRelated to torch.cuda, and CUDA support in generaltriagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate module

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions