Repository: systemml
Updated Branches:
  refs/heads/branch-0.15 467de1cb1 -> ea8e951bc


[SYSTEMML-1895] jcuda for win & linux (x86_64, ppc64le) included in extra jar

Closes #660


Project: http://git-wip-us.apache.org/repos/asf/systemml/repo
Commit: http://git-wip-us.apache.org/repos/asf/systemml/commit/ea8e951b
Tree: http://git-wip-us.apache.org/repos/asf/systemml/tree/ea8e951b
Diff: http://git-wip-us.apache.org/repos/asf/systemml/diff/ea8e951b

Branch: refs/heads/branch-0.15
Commit: ea8e951bc3360860d9931be5ede9850bec6088bc
Parents: 467de1c
Author: Nakul Jindal <[email protected]>
Authored: Thu Sep 7 15:12:04 2017 -0700
Committer: Nakul Jindal <[email protected]>
Committed: Thu Sep 7 15:12:04 2017 -0700

----------------------------------------------------------------------
 pom.xml                | 106 ++++++++++++++++++++++++++++++++++++--------
 src/assembly/extra.xml |  29 +++++++++++-
 2 files changed, 115 insertions(+), 20 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/systemml/blob/ea8e951b/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 9b57ba8..abffc0b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1220,94 +1220,164 @@
                </dependency>
                <dependency>
                        <groupId>org.jcuda</groupId>
-                       <artifactId>jcufft</artifactId>
+                       <artifactId>jcusparse</artifactId>
                        <version>${jcuda.version}</version>
                        <scope>${jcuda.scope}</scope>
                </dependency>
                <dependency>
                        <groupId>org.jcuda</groupId>
-                       <artifactId>jcusparse</artifactId>
+                       <artifactId>jcusolver</artifactId>
                        <version>${jcuda.version}</version>
                        <scope>${jcuda.scope}</scope>
                </dependency>
                <dependency>
                        <groupId>org.jcuda</groupId>
-                       <artifactId>jcusolver</artifactId>
+                       <artifactId>jcudnn</artifactId>
                        <version>${jcuda.version}</version>
                        <scope>${jcuda.scope}</scope>
                </dependency>
+
                <dependency>
                        <groupId>org.jcuda</groupId>
-                       <artifactId>jcurand</artifactId>
+                       <artifactId>jcuda-natives</artifactId>
+                       <classifier>${jcuda.os}-${jcuda.arch}</classifier>
                        <version>${jcuda.version}</version>
                        <scope>${jcuda.scope}</scope>
                </dependency>
                <dependency>
                        <groupId>org.jcuda</groupId>
-                       <artifactId>jnvgraph</artifactId>
+                       <artifactId>jcublas-natives</artifactId>
+                       <classifier>${jcuda.os}-${jcuda.arch}</classifier>
                        <version>${jcuda.version}</version>
                        <scope>${jcuda.scope}</scope>
                </dependency>
                <dependency>
                        <groupId>org.jcuda</groupId>
-                       <artifactId>jcudnn</artifactId>
+                       <artifactId>jcusparse-natives</artifactId>
+                       <classifier>${jcuda.os}-${jcuda.arch}</classifier>
+                       <version>${jcuda.version}</version>
+                       <scope>${jcuda.scope}</scope>
+               </dependency>
+               <dependency>
+                       <groupId>org.jcuda</groupId>
+                       <artifactId>jcusolver-natives</artifactId>
+                       <classifier>${jcuda.os}-${jcuda.arch}</classifier>
+                       <version>${jcuda.version}</version>
+                       <scope>${jcuda.scope}</scope>
+               </dependency>
+               <dependency>
+                       <groupId>org.jcuda</groupId>
+                       <artifactId>jcudnn-natives</artifactId>
+                       <classifier>${jcuda.os}-${jcuda.arch}</classifier>
                        <version>${jcuda.version}</version>
                        <scope>${jcuda.scope}</scope>
                </dependency>
 
+               <!-- for all platforms, to be included in the extra jar -->
                <dependency>
                        <groupId>org.jcuda</groupId>
                        <artifactId>jcuda-natives</artifactId>
-                       <classifier>${jcuda.os}-${jcuda.arch}</classifier>
+                       <classifier>windows-x86_64</classifier>
                        <version>${jcuda.version}</version>
                        <scope>${jcuda.scope}</scope>
                </dependency>
                <dependency>
                        <groupId>org.jcuda</groupId>
                        <artifactId>jcublas-natives</artifactId>
-                       <classifier>${jcuda.os}-${jcuda.arch}</classifier>
+                       <classifier>windows-x86_64</classifier>
                        <version>${jcuda.version}</version>
                        <scope>${jcuda.scope}</scope>
                </dependency>
                <dependency>
                        <groupId>org.jcuda</groupId>
-                       <artifactId>jcufft-natives</artifactId>
-                       <classifier>${jcuda.os}-${jcuda.arch}</classifier>
+                       <artifactId>jcusparse-natives</artifactId>
+                       <classifier>windows-x86_64</classifier>
+                       <version>${jcuda.version}</version>
+                       <scope>${jcuda.scope}</scope>
+               </dependency>
+               <dependency>
+                       <groupId>org.jcuda</groupId>
+                       <artifactId>jcusolver-natives</artifactId>
+                       <classifier>windows-x86_64</classifier>
+                       <version>${jcuda.version}</version>
+                       <scope>${jcuda.scope}</scope>
+               </dependency>
+               <dependency>
+                       <groupId>org.jcuda</groupId>
+                       <artifactId>jcudnn-natives</artifactId>
+                       <classifier>windows-x86_64</classifier>
+                       <version>${jcuda.version}</version>
+                       <scope>${jcuda.scope}</scope>
+               </dependency>
+
+               <dependency>
+                       <groupId>org.jcuda</groupId>
+                       <artifactId>jcuda-natives</artifactId>
+                       <classifier>linux-x86_64</classifier>
+                       <version>${jcuda.version}</version>
+                       <scope>${jcuda.scope}</scope>
+               </dependency>
+               <dependency>
+                       <groupId>org.jcuda</groupId>
+                       <artifactId>jcublas-natives</artifactId>
+                       <classifier>linux-x86_64</classifier>
                        <version>${jcuda.version}</version>
                        <scope>${jcuda.scope}</scope>
                </dependency>
                <dependency>
                        <groupId>org.jcuda</groupId>
                        <artifactId>jcusparse-natives</artifactId>
-                       <classifier>${jcuda.os}-${jcuda.arch}</classifier>
+                       <classifier>linux-x86_64</classifier>
                        <version>${jcuda.version}</version>
                        <scope>${jcuda.scope}</scope>
                </dependency>
                <dependency>
                        <groupId>org.jcuda</groupId>
                        <artifactId>jcusolver-natives</artifactId>
-                       <classifier>${jcuda.os}-${jcuda.arch}</classifier>
+                       <classifier>linux-x86_64</classifier>
                        <version>${jcuda.version}</version>
                        <scope>${jcuda.scope}</scope>
                </dependency>
                <dependency>
                        <groupId>org.jcuda</groupId>
-                       <artifactId>jcurand-natives</artifactId>
-            <classifier>${jcuda.os}-${jcuda.arch}</classifier>
-            <version>${jcuda.version}</version>
+                       <artifactId>jcudnn-natives</artifactId>
+                       <classifier>linux-x86_64</classifier>
+                       <version>${jcuda.version}</version>
                        <scope>${jcuda.scope}</scope>
                </dependency>
+
                <dependency>
                        <groupId>org.jcuda</groupId>
-                       <artifactId>jnvgraph-natives</artifactId>
-                       <classifier>${jcuda.os}-${jcuda.arch}</classifier>
+                       <artifactId>jcuda-natives</artifactId>
+                       <classifier>linux-ppc_64</classifier>
+                       <version>${jcuda.version}</version>
+                       <scope>${jcuda.scope}</scope>
+               </dependency>
+               <dependency>
+                       <groupId>org.jcuda</groupId>
+                       <artifactId>jcublas-natives</artifactId>
+                       <classifier>linux-ppc_64</classifier>
+                       <version>${jcuda.version}</version>
+                       <scope>${jcuda.scope}</scope>
+               </dependency>
+               <dependency>
+                       <groupId>org.jcuda</groupId>
+                       <artifactId>jcusparse-natives</artifactId>
+                       <classifier>linux-ppc_64</classifier>
+                       <version>${jcuda.version}</version>
+                       <scope>${jcuda.scope}</scope>
+               </dependency>
+               <dependency>
+                       <groupId>org.jcuda</groupId>
+                       <artifactId>jcusolver-natives</artifactId>
+                       <classifier>linux-ppc_64</classifier>
                        <version>${jcuda.version}</version>
                        <scope>${jcuda.scope}</scope>
                </dependency>
                <dependency>
                        <groupId>org.jcuda</groupId>
                        <artifactId>jcudnn-natives</artifactId>
-                       <classifier>${jcuda.os}-${jcuda.arch}</classifier>
+                       <classifier>linux-ppc_64</classifier>
                        <version>${jcuda.version}</version>
                        <scope>${jcuda.scope}</scope>
                </dependency>

http://git-wip-us.apache.org/repos/asf/systemml/blob/ea8e951b/src/assembly/extra.xml
----------------------------------------------------------------------
diff --git a/src/assembly/extra.xml b/src/assembly/extra.xml
index 24c2d87..c781615 100644
--- a/src/assembly/extra.xml
+++ b/src/assembly/extra.xml
@@ -51,11 +51,36 @@
                </fileSet>
        </fileSets>
 
-       <!-- Include platform specific JCuda Jars -->
+       <!-- Include JCuda Jars -->
        <dependencySets>
                <dependencySet>
                        <includes>
-                               <include>org.jcuda:*</include>
+                               
<include>org.jcuda:jcuda:jar:${jcuda.version}</include>
+                               
<include>org.jcuda:jcublas:jar:${jcuda.version}</include>
+                               
<include>org.jcuda:jcusparse:jar:${jcuda.version}</include>
+                               
<include>org.jcuda:jcusolver:jar:${jcuda.version}</include>
+                               
<include>org.jcuda:jcudnn:jar:${jcuda.version}</include>
+
+                               <!-- windows specific jcuda jars -->
+                               
<include>org.jcuda:jcuda-natives:jar:windows-x86_64:${jcuda.version}</include>
+                               
<include>org.jcuda:jcublas-natives:jar:windows-x86_64:${jcuda.version}</include>
+                               
<include>org.jcuda:jcusparse-natives:jar:windows-x86_64:${jcuda.version}</include>
+                               
<include>org.jcuda:jcusolver-natives:jar:windows-x86_64:${jcuda.version}</include>
+                               
<include>org.jcuda:jcudnn-natives:jar:windows-x86_64:${jcuda.version}</include>
+
+                               <!-- linux x86_64 specific jcuda jars -->
+                               
<include>org.jcuda:jcuda-natives:jar:linux-x86_64:${jcuda.version}</include>
+                               
<include>org.jcuda:jcublas-natives:jar:linux-x86_64:${jcuda.version}</include>
+                               
<include>org.jcuda:jcusparse-natives:jar:linux-x86_64:${jcuda.version}</include>
+                               
<include>org.jcuda:jcusolver-natives:jar:linux-x86_64:${jcuda.version}</include>
+                               
<include>org.jcuda:jcudnn-natives:jar:linux-x86_64:${jcuda.version}</include>
+
+                               <!-- linux ppc_64le specific jcuda jars -->
+                               
<include>org.jcuda:jcuda-natives:jar:linux-ppc_64:${jcuda.version}</include>
+                               
<include>org.jcuda:jcublas-natives:jar:linux-ppc_64:${jcuda.version}</include>
+                               
<include>org.jcuda:jcusparse-natives:jar:linux-ppc_64:${jcuda.version}</include>
+                               
<include>org.jcuda:jcusolver-natives:jar:linux-ppc_64:${jcuda.version}</include>
+                               
<include>org.jcuda:jcudnn-natives:jar:linux-ppc_64:${jcuda.version}</include>
                        </includes>
                        <unpack>true</unpack>
                        <scope>compile</scope>

Reply via email to