Skip to content
This repository has been archived by the owner on Sep 20, 2023. It is now read-only.

(v3.2.0) CUDA: nvcc

LCD 47 edited this page Dec 13, 2014 · 1 revision

Author: Hannes Schulz [email protected]

In order to also check header files add this to your .vimrc: (this creates an empty .syntastic_dummy.cu file in your source directory)

let g:syntastic_cuda_check_header = 1

By default, nvcc and thus syntastic, defaults to the most basic architecture. This can produce false errors if the developer intends to compile for newer hardware and use newer features, e.g. double precision numbers. To pass a specific target arch to nvcc, e.g. add the following to your .vimrc:

let g:syntastic_cuda_arch = "sm_20"
Clone this wiki locally