diff --git a/libnd4j/pom.xml b/libnd4j/pom.xml index 83f29b17f..be3136fc5 100644 --- a/libnd4j/pom.xml +++ b/libnd4j/pom.xml @@ -73,6 +73,7 @@ ${libnd4j.platform} + @@ -85,6 +86,24 @@ + + + org.codehaus.mojo + build-helper-maven-plugin + ${maven-build-helper-plugin.version} + + + get-cpu-count + + cpu-count + + + cpu.core.count + + + + + org.bytedeco javacpp @@ -154,6 +173,8 @@ --compute ${libnd4j.compute} ${libnd4j.tests} + -j + ${libnd4j.buildthreads} ${project.basedir} @@ -216,6 +237,30 @@ + + + libnd4-single-thread + + + libnd4j.singlethread + + + + 1 + + + + libnd4-multi-thread + + + !libnd4j.singlethread + + + + + ${cpu.core.count} + + chip