News for hackers. Stuff that matters.
Re:Llama2.java: Karpathy's llama2.c ported to Java by mukel on Tuesday August 08, 2023 @03:22PM (#37054187)
Author here: I implemented several versions of matmul with different unrolling schemes using the Vector API and I got a ~4X speedup with a single thread, but the speedup fades the more threads you add. I think that performance is constrained by memory bandwidth which is saturated with a small number of threads, regardless of vectorization.

There are no comments on this comment yet.