Add cuda 11.2 driver and runtime inc files
This commit is contained in:
parent
21ee78c7c9
commit
ee68122aa1
tensorflow/stream_executor/cuda
2816
tensorflow/stream_executor/cuda/cuda_11_2.inc
Normal file
2816
tensorflow/stream_executor/cuda/cuda_11_2.inc
Normal file
File diff suppressed because it is too large
Load Diff
2152
tensorflow/stream_executor/cuda/cuda_runtime_11_2.inc
Normal file
2152
tensorflow/stream_executor/cuda/cuda_runtime_11_2.inc
Normal file
File diff suppressed because it is too large
Load Diff
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user