News for hackers. Stuff that matters.
Re:MatX: Efficient C++17 GPU numerical computing library wit... by LeroyRaz on Tuesday October 03, 2023 @11:36PM (#37760562)
What are the advantages of MatX over Jax?
Re:MatX: Efficient C++17 GPU numerical computing library wit... by cburdick13 on Wednesday October 04, 2023 @12:40AM (#37760924)
The main difference is Jax is for python primarily, while MatX is c++. This might seem like a poor answer, but in many domains (quasi-real time, signal processing, etc) the language is important to give certainty guarantees on performance.

MatX has been used in several projects with hundreds of microsecond deadlines, which is not usually something you'd choose Python for out of the box.

We are instead targeting users who already have python or high-level code that they need to port to c++ for whatever reason, and want to do it in the easiest way possible. With c++17 we're able to provide a simple syntax without compromising on performance compared to most native code.

Re:MatX: Efficient C++17 GPU numerical computing library wit... by temren on Wednesday October 04, 2023 @01:07AM (#37761043)
would matx work with gnuradio?
Re:MatX: Efficient C++17 GPU numerical computing library wit... by cburdick13 on Wednesday October 04, 2023 @01:30AM (#37761147)
I have to admit I'm only tangentially familiar with gnuradio, but matx should be able to integrate with any C++17 codebase. We have several examples of integration with our streaming sensor pipeline called holoscan.

see this radar pipeline example for one:

https://github.com/nvidia-holoscan/holohub/tree/main/applica...