News for hackers. Stuff that matters.
Re:Switching to Mojo gave a 14% improvement over CUDA by hogepodge on Friday June 06, 2025 @08:25PM (#44206373)
You're right that a good graph compiler will do this for you. There still may be times, like if you're interfacing with another library, where you'll need to switch a matrix between row major or column major layouts.
Re:Switching to Mojo gave a 14% improvement over CUDA by meindnoch on Saturday June 07, 2025 @08:33AM (#44209227)
Serious linear algebra libraries expect a flag that tells if elements are column-major or row-major.