CMakeCUDACompilerABI.cu 297 B

12345678910111213141516
  1. #ifndef __CUDACC__
  2. # error "A C or C++ compiler has been selected for CUDA"
  3. #endif
  4. #include "CMakeCompilerABI.h"
  5. int main(int argc, char* argv[])
  6. {
  7. int require = 0;
  8. require += info_sizeof_dptr[argc];
  9. #if defined(ABI_ID)
  10. require += info_abi[argc];
  11. #endif
  12. (void)argv;
  13. return require;
  14. }