Update magma to 2.5.0 for Windows
authorpeter <peterghost86@gmail.com>
Fri, 1 Mar 2019 17:45:38 +0000 (09:45 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Fri, 1 Mar 2019 17:53:56 +0000 (09:53 -0800)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/17607

Differential Revision: D14281291

Pulled By: yf225

fbshipit-source-id: 51209c5540932871e45e54ba6d61b3b7d264aa8c

.jenkins/pytorch/win-build.sh
docs/source/notes/windows.rst

index 3724d18..60ef43f 100755 (executable)
@@ -58,11 +58,11 @@ set LIB=%TMP_DIR_WIN%\\mkl\\lib;%LIB
 :: Install MAGMA
 if "%REBUILD%"=="" (
   if "%BUILD_ENVIRONMENT%"=="" (
-    curl -k https://s3.amazonaws.com/ossci-windows/magma_2.4.0_cuda90_release.7z --output %TMP_DIR_WIN%\\magma_2.4.0_cuda90_release.7z
+    curl -k https://s3.amazonaws.com/ossci-windows/magma_2.5.0_cuda90_release.7z --output %TMP_DIR_WIN%\\magma_2.5.0_cuda90_release.7z
   ) else (
-    aws s3 cp s3://ossci-windows/magma_2.4.0_cuda90_release.7z %TMP_DIR_WIN%\\magma_2.4.0_cuda90_release.7z --quiet
+    aws s3 cp s3://ossci-windows/magma_2.5.0_cuda90_release.7z %TMP_DIR_WIN%\\magma_2.5.0_cuda90_release.7z --quiet
   )
-  7z x -aoa %TMP_DIR_WIN%\\magma_2.4.0_cuda90_release.7z -o%TMP_DIR_WIN%\\magma
+  7z x -aoa %TMP_DIR_WIN%\\magma_2.5.0_cuda90_release.7z -o%TMP_DIR_WIN%\\magma
 )
 set MAGMA_HOME=%TMP_DIR_WIN%\\magma
 
index 57976fd..d8648b3 100644 (file)
@@ -19,9 +19,9 @@ MKL and MAGMA. Here are the steps to build with them.
     7z x -aoa mkl_2018.2.185.7z -omkl
 
     REM Download MAGMA files
-    REM cuda90/cuda92/cuda100 is also available in the following line.
-    set CUDA_PREFIX=cuda80
-    curl -k https://s3.amazonaws.com/ossci-windows/magma_2.4.0_%CUDA_PREFIX%_release.7z -o magma.7z
+    REM cuda100 is also available in the following line. There are also 2.4.0 binaries for cuda80/cuda92.
+    set CUDA_PREFIX=cuda90
+    curl -k https://s3.amazonaws.com/ossci-windows/magma_2.5.0_%CUDA_PREFIX%_release.7z -o magma.7z
     7z x -aoa magma.7z -omagma
     
     REM Setting essential environment variables