-
Notifications
You must be signed in to change notification settings - Fork 73
Open
Description
Hi,
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!
PTRFmX
Metadata
Metadata
Assignees
Labels
No labels