Add cuda 11.2 driver and runtime inc files

This commit is contained in:
Nathan Luehr 2021-01-11 17:28:39 -06:00
parent 21ee78c7c9
commit ee68122aa1
4 changed files with 4974 additions and 2 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -101,6 +101,8 @@ typedef void(CUDA_CB* CUhostFn)(void* userData);
#include "tensorflow/stream_executor/cuda/cuda_10_1.inc"
#elif CUDA_VERSION < 11000
#include "tensorflow/stream_executor/cuda/cuda_10_2.inc"
#else
#elif CUDA_VERSION < 11020
#include "tensorflow/stream_executor/cuda/cuda_11_0.inc"
#else
#include "tensorflow/stream_executor/cuda/cuda_11_2.inc"
#endif

View File

@ -59,8 +59,10 @@ cudaError_t GetSymbolNotFoundError() {
#include "tensorflow/stream_executor/cuda/cuda_runtime_10_1.inc"
#elif CUDART_VERSION < 11000
#include "tensorflow/stream_executor/cuda/cuda_runtime_10_2.inc"
#else
#elif CUDART_VERSION < 11020
#include "tensorflow/stream_executor/cuda/cuda_runtime_11_0.inc"
#else
#include "tensorflow/stream_executor/cuda/cuda_runtime_11_2.inc"
#endif
#undef __dv
#undef __CUDA_DEPRECATED