cmake/Modules/CMakeCUDACompilerABI.cu

17 lines
297 B
Plaintext
Raw Normal View History

2017-04-14 19:02:05 +02:00
#ifndef __CUDACC__
2018-08-09 18:06:22 +02:00
# error "A C or C++ compiler has been selected for CUDA"
2017-04-14 19:02:05 +02:00
#endif
#include "CMakeCompilerABI.h"
int main(int argc, char* argv[])
{
int require = 0;
require += info_sizeof_dptr[argc];
#if defined(ABI_ID)
require += info_abi[argc];
#endif
(void)argv;
return require;
}