Seems like a nice win even if it just does the example they have:
void matmul(Matrix2DFloat A, Matrix2DFloat B, Matrix2DFloat C, int size) {
for (@Parallel int i=0; i<size; i++) {
for (@Parallel int j=0; j<size; j++) {
float sum = 0f;
for (int k=0; k<size; k++)
sum += A.get(i,k)*B.get(k,j);
C.set(i, j, sum);
}
}
}
But the elephant in the room is the Vector API. Is that going to end up like logging - a standardised API nobody uses because it came 10 years late to the party and isn't as good as what was already established?And why confuse everybody by calling it a VM when it ships as a JAR file that runs in an existing VM?
Does this mean we can use Java to build AI infrastructure?
"your scientists were so preoccupied with whether they could they didn't stop to think if they should"
[dead]
https://github.com/beehive-lab/TornadoVM this is main repo.
You can use it with any JDK21+ and Nvidia or Apple hardware and their Nvidia libs or MLX libs.