急救!!! cusparseScsrsv_analysis函数导致内存暴增

Coder802 2018-01-09 11:00:37
cusparseScsrsv_analysis(handle,CUSPARSE_OPERATION_NON_TRANSPOSE,n_rows,n_vals,descr,d_csrVals,
d_csrRows,d_csrCols,Info);
专家们,请问在程序中加入了这个函数,为什么会导致程序消耗内存暴增?

...全文
511 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
Coder802 2018-01-10
  • 打赏
  • 举报
回复
It is expected that this function will be executed only once for a given matrix and a particular operation type. This function requires a significant amount of extra storage that is proportional to the matrix size. It is executed asynchronously with respect to the host and may return control to the application on the host before the result is ready.

579

社区成员

发帖
与我相关
我的任务
社区描述
CUDA™是一种由NVIDIA推出的通用并行计算架构,该架构使GPU能够解决复杂的计算问题。 它包含了CUDA指令集架构(ISA)以及GPU内部的并行计算引擎。
社区管理员
  • CUDA编程社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧