Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <cstdlib>
- #include "cuda.h" //on Linux, yields "fatal error: cuda.h: No such file or directory" compile-time error
- int main(int, char* []) {
- return EXIT_SUCCESS;
- }
- cmake_minimum_required(VERSION 3.8)
- project(Test)
- set(CMAKE_CXX_STANDARD 11)
- enable_language(CUDA)
- set(EXEC_FILES main.cpp)
- add_executable(test_exec ${EXEC_FILES})
Add Comment
Please, Sign In to add comment