leezu commented on a change in pull request #17962: Fix Windows GPU CI
URL: https://github.com/apache/incubator-mxnet/pull/17962#discussion_r402574988
##########
File path: ci/build_windows.py
##########
@@ -106,29 +129,37 @@ class BuildFlavour(Enum):
'-DCMAKE_BUILD_TYPE=Release')
, 'WIN_GPU': (
+ '-DCMAKE_C_COMPILER=cl '
+ '-DCMAKE_CXX_COMPILER=cl '
'-DUSE_CUDA=ON '
'-DUSE_CUDNN=ON '
'-DENABLE_CUDA_RTC=ON '
'-DUSE_OPENCV=ON '
+ '-DOpenCV_RUNTIME=vc15 '
+ '-DOpenCV_ARCH=x64 '
'-DUSE_OPENMP=ON '
'-DUSE_BLAS=open '
'-DUSE_LAPACK=ON '
'-DUSE_DIST_KVSTORE=OFF '
- '-DMXNET_CUDA_ARCH="5.2" '
+ '-DMXNET_CUDA_ARCH="7.5" '
Review comment:
It's a requirement for running on g4, which is a required fix.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services