Skip to content

Commit

Permalink
Remove ForeignLinkerBLAS
Browse files Browse the repository at this point in the history
It's slower than JNIBLAS and mostly just an experiment
  • Loading branch information
luhenry committed Jul 15, 2022
1 parent 2c6173e commit 48e923c
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 1,113 deletions.
29 changes: 0 additions & 29 deletions blas/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -43,35 +43,6 @@ information or have any questions.
<junit.version>5.8.2</junit.version>
</properties>

<profiles>
<profile>
<id>jdk17</id>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>3.2.0</version>
<executions>
<execution>
<id>add-source</id>
<phase>generate-sources</phase>
<goals>
<goal>add-source</goal>
</goals>
<configuration>
<sources>
<source>src/main/jdk17</source>
</sources>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>

<dependencies>
<dependency>
<groupId>net.sourceforge.f2j</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,6 @@ private static NativeBLAS getNativeInstanceImpl() {
} catch (Throwable t) {
log.warning("Failed to load implementation from:" + JNIBLAS.class.getName());
}
try {
return (NativeBLAS)Class.forName("dev.ludovic.netlib.blas.ForeignLinkerBLAS").getMethod("getInstance").invoke(null);
} catch (Throwable t) {
log.warning("Failed to load implementation from:" + "dev.ludovic.netlib.blas.ForeignLinkerBLAS");
}
throw new RuntimeException("Unable to load native implementation");
}

Expand Down
Loading

0 comments on commit 48e923c

Please sign in to comment.