main.cu 384 B

1234567891011121314151617181920
  1. #include <iostream>
  2. int static_cxx11_func(int);
  3. void test_functions()
  4. {
  5. auto x = static_cxx11_func(int(42));
  6. std::cout << x << std::endl;
  7. }
  8. int main(int argc, char** argv)
  9. {
  10. test_functions();
  11. std::cout
  12. << "this executable doesn't use cuda code, just call methods defined"
  13. << std::endl;
  14. std::cout << "in libraries that have cuda code" << std::endl;
  15. return 0;
  16. }