diff options
author | 2018-02-07 18:25:49 -0600 | |
---|---|---|
committer | 2018-02-07 16:25:49 -0800 | |
commit | d83d1a4998c3ffbbc4b303948a3c71a2e7483b2d (patch) | |
tree | b9ddf093daf808a264cf5ac26ccdc8b274684247 /tensorflow/contrib/cmake/tests | |
parent | 7a5fb00a976ad1b4e3d13be6af5b9e3558499b2b (diff) |
CMake (Windows): Added support for ninja build and some fixes/changes (#16763)
* Added support for ninja build and some fixes/changes in CMake for Windows
* Fixed typo
Diffstat (limited to 'tensorflow/contrib/cmake/tests')
-rw-r--r-- | tensorflow/contrib/cmake/tests/cuda/compatibility_test.c | 7 | ||||
-rw-r--r-- | tensorflow/contrib/cmake/tests/cuda/compatibility_test.cc | 7 |
2 files changed, 14 insertions, 0 deletions
diff --git a/tensorflow/contrib/cmake/tests/cuda/compatibility_test.c b/tensorflow/contrib/cmake/tests/cuda/compatibility_test.c new file mode 100644 index 0000000000..968ab13a0c --- /dev/null +++ b/tensorflow/contrib/cmake/tests/cuda/compatibility_test.c @@ -0,0 +1,7 @@ +// This is a program to test if compiler is compatible with CUDA. +#define __CUDACC__ +#include "crt/host_config.h" + +int main(void) { + return 0; +} diff --git a/tensorflow/contrib/cmake/tests/cuda/compatibility_test.cc b/tensorflow/contrib/cmake/tests/cuda/compatibility_test.cc new file mode 100644 index 0000000000..968ab13a0c --- /dev/null +++ b/tensorflow/contrib/cmake/tests/cuda/compatibility_test.cc @@ -0,0 +1,7 @@ +// This is a program to test if compiler is compatible with CUDA. +#define __CUDACC__ +#include "crt/host_config.h" + +int main(void) { + return 0; +} |