Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Benchmark against nVidia's XMP library #46

Open
unzvfu opened this issue Mar 21, 2020 · 2 comments
Open

Benchmark against nVidia's XMP library #46

unzvfu opened this issue Mar 21, 2020 · 2 comments
Assignees

Comments

@unzvfu
Copy link
Owner

unzvfu commented Mar 21, 2020

See https://nvlabs.github.io/xmp/

@unzvfu unzvfu self-assigned this Mar 21, 2020
@dave-andersen
Copy link

XMP 2.0 is called CGBN: https://github.com/NVlabs/CGBN
A quick benchmark suggests CGBN is about 2.5 times faster on Titan-V but I didn't cuda-fixnum, just changed the arch to 70 and ran bench, for a 1024 / 1024 modular exponentiation.

@unzvfu
Copy link
Owner Author

unzvfu commented Feb 14, 2021

Thanks @dave-andersen. If I recall correctly cuda-fixnum was comparable in performance to XMP around the time I first wrote it, but I haven't given it much attention for a while; it really needs to be updated to make use of more recent architecture improvements. Great to see that CGBN is performing so well!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants