| |
| |
| |
| |
| @@ -377,6 +377,7 @@ print(os.path.dirname(torch.__file__),end='');" |
| set(nvtx3_dir ${3RDPARTY_DIR}/NVTX/include) |
| find_package(Torch REQUIRED) |
|
|
| + set(TORCH_CXX_FLAGS "-D_GLIBCXX_USE_CXX11_ABI=1") |
| message(STATUS "TORCH_CXX_FLAGS: ${TORCH_CXX_FLAGS}") |
| add_compile_options(${TORCH_CXX_FLAGS}) |
| add_compile_definitions(TORCH_CUDA=1) |
| |
| |
| |
| |
| @@ -28,6 +28,7 @@ for i in "$@"; do |
| --CUDNN_VER=?*) CUDNN_VER="${i#*=}";; |
| --NCCL_VER=?*) NCCL_VER="${i#*=}";; |
| --CUBLAS_VER=?*) CUBLAS_VER="${i#*=}";; |
| + --NVRTC_VER=?*) NVRTC_VER="${i#*=}";; |
| *) ;; |
| esac |
| shift |
|
|