-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated cmake build to Visual Studio 2019 & CUDA 10.1
- Loading branch information
Jens
committed
May 5, 2019
1 parent
e82319e
commit 8db9985
Showing
29 changed files
with
83 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -259,4 +259,4 @@ paket-files/ | |
# Python Tools for Visual Studio (PTVS) | ||
__pycache__/ | ||
*.pyc | ||
/cache | ||
*/*/cache |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
4 changes: 2 additions & 2 deletions
4
build/Hello Tensorflow/Hello Tensorflow.sln → ...low/Hello Tensorflow/Hello Tensorflow.sln
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...flow/HelloTensorFlowTests/packages.config → ...flow/HelloTensorFlowTests/packages.config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<packages> | ||
<package id="Microsoft.googletest.v140.windesktop.msvcstl.static.rt-dyn" version="1.8.0" targetFramework="native" /> | ||
<package id="Microsoft.googletest.v140.windesktop.msvcstl.static.rt-dyn" version="1.8.1" targetFramework="native" /> | ||
</packages> |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
call build_tensorflow.bat Debug | ||
if %errorlevel% neq 0 exit /b %errorlevel% | ||
|
||
call build_tensorflow.bat Release | ||
if %errorlevel% neq 0 exit /b %errorlevel% | ||
|
||
call build_tensorflow.bat Release-avx2 | ||
if %errorlevel% neq 0 exit /b %errorlevel% | ||
|
||
call build_tensorflow.bat Release-avx2-fma | ||
if %errorlevel% neq 0 exit /b %errorlevel% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
call build_tensorflow.bat Release-cuda | ||
if %errorlevel% neq 0 exit /b %errorlevel% | ||
|
||
call build_tensorflow.bat Release-cuda-avx2 | ||
if %errorlevel% neq 0 exit /b %errorlevel% |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
set PreferredToolArchitecture=x64 | ||
|
||
set TENSORFLOW_RELEASE=r1.10 | ||
set TENSORFLOW_VS_VERSION=vc16 | ||
set CMAKE_GENERATOR="Visual Studio 16" |
2 changes: 1 addition & 1 deletion
2
build/scripts/cmake_build_path.bat → ...orflow/cmake/scripts/cmake_build_path.bat
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
set CMAKE_DEV_PATH=%~dp0\..\..\..\ | ||
set CMAKE_DEV_PATH=%~dp0\..\..\..\..\..\ | ||
set CMAKE_DEV_PATH_LIB=%CMAKE_DEV_PATH%\lib |
10 changes: 5 additions & 5 deletions
10
build/scripts/cmake_cuda_path.bat → ...sorflow/cmake/scripts/cmake_cuda_path.bat
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
set tensorflow_CUDA_VERSION=10.0 | ||
set tensorflow_CUDA_VERSION=10.1 | ||
set tensorflow_CUDNN_VERSION=7 | ||
set CUDA_USE_STATIC_CUDA_RUNTIME=ON | ||
set CUDA_SDK_ROOT_DIR="C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA" | ||
set CUDA_TOOLKIT_ROOT_DIR="C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.0" | ||
REM cuda hostcompilerdepends on TENSORFLOW_VS_BUILD | ||
set CUDA_HOST_COMPILER="C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.16.27023/bin/Hostx64/x64" | ||
set CUDNN_HOME="C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.0" | ||
set CUDA_TOOLKIT_ROOT_DIR="C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.1" | ||
REM cuda hostcompilerdepends on TENSORFLOW_VS_VERSION | ||
set CUDA_HOST_COMPILER="C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.20.27508\bin\Hostx64\x64" | ||
set CUDNN_HOME="C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.1" |
Binary file not shown.