-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Hi there, really nice project and article!
When I clone the repo and run ./gradlew test, the test mulMatrixvsMatrixBlockedVectorUnrolled fails with this message:
org.opentest4j.AssertionFailedError: expected: <124.42004> but was: <0.0>
at app//org.junit.jupiter.api.AssertionUtils.fail(AssertionUtils.java:55)
at app//org.junit.jupiter.api.AssertionUtils.failNotEqual(AssertionUtils.java:62)
at app//org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:118)
at app//org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:113)
at app//org.junit.jupiter.api.Assertions.assertEquals(Assertions.java:856)
at app//ch.styp.MatrixMulTest.mulMatrixvsMatrixBlockedVectorUnrolled(MatrixMulTest.java:62)
...
Sometimes, also the test fmaArrayVectorVsScalar fails with the message:
org.opentest4j.AssertionFailedError: expected: <226.77946> but was: <226.77934>
at app//org.junit.jupiter.api.AssertionUtils.fail(AssertionUtils.java:55)
at app//org.junit.jupiter.api.AssertionUtils.failNotEqual(AssertionUtils.java:62)
at app//org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:118)
at app//org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:113)
at app//org.junit.jupiter.api.Assertions.assertEquals(Assertions.java:856)
at app//ch.styp.SumArrayTest.fmaArrayVectorVsScalar(SumArrayTest.java:49)
...
This happens on java 17.0.8 Temurin, on 18 OpenJDK and on 20 OpenJDK (I have not tested other versions).
I am working on Ubuntu 22.04.3 on an Intel(R) Core(TM) i7-7700.
P.S.
Aside from this problem, I notice that the tests for correctness aren't as complete as I think they should be, so I'm working on a PR right now to fix them.
Metadata
Metadata
Assignees
Labels
No labels