Guest User

Untitled

a guest
Aug 10th, 2018
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. #include <cstdlib>
  2. #include "cuda.h" //on Linux, yields "fatal error: cuda.h: No such file or directory" compile-time error
  3.  
  4. int main(int, char* []) {
  5. return EXIT_SUCCESS;
  6. }
  7.  
  8. cmake_minimum_required(VERSION 3.8)
  9. project(Test)
  10.  
  11. set(CMAKE_CXX_STANDARD 11)
  12.  
  13. enable_language(CUDA)
  14.  
  15. set(EXEC_FILES main.cpp)
  16.  
  17. add_executable(test_exec ${EXEC_FILES})
Add Comment
Please, Sign In to add comment