Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
Backport #16980 #17031 #17018 #17019 to 1.6 branch (#17213)
Browse files Browse the repository at this point in the history
Fix CUDNN detection for CMake build (#17019)

Replace mxnet_option macro with standard CMAKE_DEPENDENT_OPTION (#17018)

Switch to modern CMake CUDA handling (#17031)

Introduce unified MXNET_CUDA_ARCH option to specify cuda architectures.
Previously cuda architecture setting was partially broken and different options
were applied to different parts of the build (CUDA_ARCH_NAME CUDA_ARCH_BIN
CUDA_ARCH_PTX and CUDA_ARCH_LIST).

Include FindCUDAToolkit from CMake 3.17, which replaces the deprecated FindCUDA
functionality for finding the cuda toolkit include directories and libraries.

Workaround for DLL size limitation on Windows (#16980)

* change windows build system.
add gen_warp cpp version
add add_custom_command to run warp_gen
add download cmake
add option
change option
add dynamic read mxnet dll

Co-authored-by: Leonard Lausen <leonard@lausen.nl>
  • Loading branch information
2 people authored and ptrendx committed Jan 5, 2020
1 parent a0fcb9a commit 0015fc3
Show file tree
Hide file tree
Showing 18 changed files with 1,478 additions and 1,354 deletions.
324 changes: 0 additions & 324 deletions 3rdparty/mshadow/cmake/Cuda.cmake

This file was deleted.

Loading

0 comments on commit 0015fc3

Please sign in to comment.