NVIDIA / MatX

An efficient C++17 GPU numerical computing library with Python-like syntax
https://nvidia.github.io/MatX
BSD 3-Clause "New" or "Revised" License
1.19k stars 82 forks source link

[QST] Consider refactoring above cuda-api-wrappers #426

Open eyalroz opened 1 year ago

eyalroz commented 1 year ago

I've noticed that MatX needs to include some CUDA-related abstractions and facilities (like error handling) which are actually not specific to matrix/tensor/numeric computations in any way.

I would suggest you consider building MatX on top of the Modern-C++ CUDA API wrappers library.

Benefits:

Detriments:

cliffburdick commented 1 year ago

Thanks @eyalroz! We will take a look to see how much code this will save and report back.

eyalroz commented 1 year ago

Wow, I'm surprised to have gotten a positive response, and this quickly... you may want to look at some example programs to see how the library is used. And - feel very free to chat me up about this.