Skip to content

Commit 48e923c

Browse files
committed
Remove ForeignLinkerBLAS
It's slower than JNIBLAS and mostly just an experiment
1 parent 2c6173e commit 48e923c

File tree

5 files changed

+2
-1113
lines changed

5 files changed

+2
-1113
lines changed

blas/pom.xml

-29
Original file line numberDiff line numberDiff line change
@@ -43,35 +43,6 @@ information or have any questions.
4343
<junit.version>5.8.2</junit.version>
4444
</properties>
4545

46-
<profiles>
47-
<profile>
48-
<id>jdk17</id>
49-
<build>
50-
<plugins>
51-
<plugin>
52-
<groupId>org.codehaus.mojo</groupId>
53-
<artifactId>build-helper-maven-plugin</artifactId>
54-
<version>3.2.0</version>
55-
<executions>
56-
<execution>
57-
<id>add-source</id>
58-
<phase>generate-sources</phase>
59-
<goals>
60-
<goal>add-source</goal>
61-
</goals>
62-
<configuration>
63-
<sources>
64-
<source>src/main/jdk17</source>
65-
</sources>
66-
</configuration>
67-
</execution>
68-
</executions>
69-
</plugin>
70-
</plugins>
71-
</build>
72-
</profile>
73-
</profiles>
74-
7546
<dependencies>
7647
<dependency>
7748
<groupId>net.sourceforge.f2j</groupId>

blas/src/main/java/dev/ludovic/netlib/blas/InstanceBuilder.java

-5
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,6 @@ private static NativeBLAS getNativeInstanceImpl() {
5858
} catch (Throwable t) {
5959
log.warning("Failed to load implementation from:" + JNIBLAS.class.getName());
6060
}
61-
try {
62-
return (NativeBLAS)Class.forName("dev.ludovic.netlib.blas.ForeignLinkerBLAS").getMethod("getInstance").invoke(null);
63-
} catch (Throwable t) {
64-
log.warning("Failed to load implementation from:" + "dev.ludovic.netlib.blas.ForeignLinkerBLAS");
65-
}
6661
throw new RuntimeException("Unable to load native implementation");
6762
}
6863

0 commit comments

Comments
 (0)