Skip to content

Commit

Permalink
Add MKL based tensorflow back-end
Browse files Browse the repository at this point in the history
  • Loading branch information
edwinRNDR committed Oct 21, 2020
1 parent 2e40843 commit 8f4c3d7
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 1 deletion.
1 change: 1 addition & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ project.ext {
gsonVersion = "2.8.6"
antlrVersion = "4.8-1"
tensorflowVersion = "0.2.0"
mklDnnVersion = "0.21.5-1.5.4"
}

switch (org.gradle.internal.os.OperatingSystem.current()) {
Expand Down
4 changes: 4 additions & 0 deletions orx-tensorflow-mkl-natives-linux-x64/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
dependencies {
runtimeOnly "org.bytedeco:mkl-dnn:$mklDnnVersion:linux-x86_64"
runtimeOnly "org.tensorflow:tensorflow-core-api:$tensorflowVersion:linux-x86_64-mkl"
}
4 changes: 4 additions & 0 deletions orx-tensorflow-mkl-natives-macos/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
dependencies {
runtimeOnly "org.bytedeco:mkl-dnn:$mklDnnVersion:macosx-x86_64"
runtimeOnly "org.tensorflow:tensorflow-core-api:$tensorflowVersion:macosx-x86_64-mkl"
}
4 changes: 4 additions & 0 deletions orx-tensorflow-mkl-natives-windows/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
dependencies {
runtimeOnly "org.bytedeco:mkl-dnn:$mklDnnVersion:windows-x86_64"
runtimeOnly "org.tensorflow:tensorflow-core-api:$tensorflowVersion:windows-x86_64"
}
5 changes: 4 additions & 1 deletion settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,12 @@ include 'openrndr-demos',
'orx-syphon',
'orx-temporal-blur',
'orx-tensorflow',
'orx-tensorflow-mkl-natives-linux-x64',
'orx-tensorflow-mkl-natives-macos',
'orx-tensorflow-mkl-natives-windows',
'orx-tensorflow-natives-linux-x64',
'orx-tensorflow-natives-windows',
'orx-tensorflow-natives-macos',
'orx-tensorflow-natives-windows',
'orx-timer',
'orx-time-operators',
'orx-kinect-common',
Expand Down

0 comments on commit 8f4c3d7

Please sign in to comment.