Nsight Compute 卡在 cusparse 函数调用:CUDA_ERROR_NO_BINARY_FOR_GPU(209)

问题描述 投票:0回答:0

我正在使用 Nsight Compute 来分析我的代码。我的代码在某处调用了 cusparse SPMM 函数,并且有

target_link_libraries(${PROJECT_NAME} PUBLIC cusparse)
在我的 CMakeLists 文件中。 代码编译并成功运行。但是如果我在 Nsight Compute 连接中运行它,它会卡在 cusparse 函数调用处,如图

API Name cuLibraryGetModule
Func Return CUDA_ERROR_NO_BINARY_FOR_GPU(209)
。怎么解决?

here is the error's screenshot

cuda nsight
© www.soinside.com 2019 - 2024. All rights reserved.