![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
CUDA学习
xlsp
这个作者很懒,什么都没留下…
展开
-
CUDA程序的”invalid device funciton"错误信息
Cuda程序运行时出现:invalid device function错误信息时,有可能是编译选项 -arch 选择错误,与显卡支持的版本号不一致,具体显卡支持的版本号可到nVidia官网查看: http://www.nvidia.com/content/cuda/cuda-gpus.html原创 2012-05-08 13:43:23 · 2809 阅读 · 1 评论 -
cuda初学(1):稀疏矩阵向量乘法(单精度)
初步学习CUDA编程,实现简单稀疏矩阵向量乘法运算,由于硬件限制,目前只测试了单精度程序 GPU计算子程序gpu_fmmv.cu: #include #include // CUDA-C includes #include #ifdef __cplusplus extern "C" { #endif // For Fortran interface // #defi原创 2012-03-26 09:28:55 · 7824 阅读 · 0 评论