You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for providing the useful library! I found that cgbn.h uses macro __CUDA_ARCH__ to decide whether include cgbn_cuda.h or cgbn_mpz.h (lines 67-82 in cgbn.h). However, this macro is only defined in a device code (see here). Thus, I think cgbn_cuda.h never be included. I checked that with the provided samples and found that the samples always include cgbn_mpz.h during compilation. Is cgbn_cuda.h useful? Looking forward to your reply!
The text was updated successfully, but these errors were encountered:
Hi,
Thanks for providing the useful library! I found that
cgbn.h
uses macro__CUDA_ARCH__
to decide whether includecgbn_cuda.h
orcgbn_mpz.h
(lines 67-82 in cgbn.h). However, this macro is only defined in a device code (see here). Thus, I thinkcgbn_cuda.h
never be included. I checked that with the provided samples and found that the samples always includecgbn_mpz.h
during compilation. Iscgbn_cuda.h
useful? Looking forward to your reply!The text was updated successfully, but these errors were encountered: