daily pastebin goal
41%
SHARE
TWEET

Untitled

a guest Aug 10th, 2018 48 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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})
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top