Add cuda nvcc linter (#874)

* add cuda nvcc linter
This commit is contained in:
BlahGeek
2017-09-08 02:23:58 +08:00
committed by w0rp
parent 555d23c035
commit 73d031d7ea
6 changed files with 148 additions and 0 deletions

25
doc/ale-cuda.txt Normal file
View File

@@ -0,0 +1,25 @@
===============================================================================
ALE CUDA Integration *ale-cuda-options*
===============================================================================
NVCC *ale-cuda-nvcc*
g:ale_cuda_nvcc_executable *g:ale_cuda_nvcc_executable*
*b:ale_cuda_nvcc_executable*
Type: |String|
Default: `'nvcc'`
This variable can be changed to use a different executable for nvcc.
Currently only nvcc 8.0 is supported.
g:ale_cuda_nvcc_options *g:ale_cuda_nvcc_options*
*b:ale_cuda_nvcc_options*
Type: |String|
Default: `'-std=c++11'`
This variable can be changed to modify flags given to nvcc.
===============================================================================
vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl:

View File

@@ -32,6 +32,8 @@ CONTENTS *ale-contents*
cpplint.............................|ale-cpp-cpplint|
gcc.................................|ale-cpp-gcc|
clang-format........................|ale-cpp-clangformat|
cuda..................................|ale-cuda-options|
nvcc................................|ale-cuda-nvcc|
css...................................|ale-css-options|
prettier............................|ale-css-prettier|
stylelint...........................|ale-css-stylelint|
@@ -201,6 +203,7 @@ Notes:
* Bourne Shell: `shell` (-n flag), `shellcheck`
* C: `cppcheck`, `cpplint`!!, `gcc`, `clang`, `clangtidy`!!, `clang-format`
* C++ (filetype cpp): `clang`, `clangcheck`!!, `clangtidy`!!, `cppcheck`, `cpplint`!!, `gcc`, `clang-format`
* CUDA: `nvcc`!!
* C#: `mcs`
* Chef: `foodcritic`
* CMake: `cmakelint`