Call cublas in a kernel

给你一囗甜甜゛ 提交于 2019-12-02 03:12:31

Use the CUBLAS Device Library sample code as your reference. On a standard CUDA 5.5 install, you'll find it at:

/usr/local/cuda/samples/7_CUDALibraries/simpleDevLibCUBLAS

Referring to the Makefile in that directory, your compile commands should be like this:

nvcc -arch=sm_35 -rdc=true -o main.v2 time_propagation_cublas.cu -lcublas -lcublas_device -lcudadevrt
标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!