https://github.com/Kitware/CMake
Raw File
Tip revision: 0bfd4f1ed68180d3912386fb53d559b2a9e84b1b authored by Brad King on 28 July 2022, 14:41:34 UTC
CMake 3.22.6
Tip revision: 0bfd4f1
CMakeCUDACompilerABI.cu
#ifndef __CUDACC__
#  error "A C or C++ compiler has been selected for CUDA"
#endif

#include "CMakeCompilerABI.h"

int main(int argc, char* argv[])
{
  int require = 0;
  require += info_sizeof_dptr[argc];
  require += info_byte_order_big_endian[argc];
  require += info_byte_order_little_endian[argc];
#if defined(ABI_ID)
  require += info_abi[argc];
#endif
  (void)argv;
  return require;
}
back to top