CUDA: 簡單入門

1. 準備makefile 爲了不每次都要鍵入nvcc的命令,要準備一個makefile。makefile以下:數組 CUFLAG = -g -Xcompiler -v \ -gencode=arch=compute_20,code=sm_20\ -gencode=arch=compute_20,code=compute_20\ -O2 IFLAG
相關文章
相關標籤/搜索