CUDA kernels and MAGMA with 64-bit integer

69 views
Skip to first unread message

Xiniz Ronda

unread,
Aug 26, 2022, 6:34:16 PM8/26/22
to magma...@icl.utk.edu

Hi to All,


As we talked about before I did the compilation with a 64-bit integer. Now I have a question about the CUDA kernels that are included in MAGMA. Should I change CUDA kernels too? Because inside of them I am seeing using of int which means 32-bit integer (not magma_int_t). 


Changing them seems crazy. Because there are so many.


Regards

Xin

Stanimire Tomov

unread,
Sep 5, 2022, 12:34:32 AM9/5/22
to Xiniz Ronda, magma...@icl.utk.edu
Hi Xin,

Yes, that may indeed be crazy because there are many.
The design has been to use “magma_int_t" at key places and to still have “int"
in most of the kernels. After magma_int_t is replaced by 64-bit integers, everything should
work without any further changes. However, probably there are bugs and more “int”s have to be
replaced by magma_int_t. Ideally we would like to change only where needed.
We have done fixes to a few places.

Have you located a particular problem that may need local fix (vs. changing every int to magma_int_t)?

Thanks,
Stan

--
You received this message because you are subscribed to the Google Groups "MAGMA User" group.
To unsubscribe from this group and stop receiving emails from it, send an email to magma-user+...@icl.utk.edu.
To view this discussion on the web visit https://groups.google.com/a/icl.utk.edu/d/msgid/magma-user/CA%2Bzr%3DE3BqMNzV0XKF6eEbaqu2Ku8thmiUA%3DQ5PH9-FmYhLgmPg%40mail.gmail.com.

Reply all
Reply to author
Forward
0 new messages