-
Notifications
You must be signed in to change notification settings - Fork 837
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
Add CUDA support #7436
Add CUDA support #7436
Conversation
@@ -0,0 +1,156 @@ | |||
#!/bin/bash |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You'll need to add this file to scripts/include.am.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yup. Already done locally. Didn't want to trigger another build
wolfcrypt/src/port/cuda/README.md
Outdated
@@ -0,0 +1,4 @@ | |||
You will need to have the CUDA libraries and toolchains installed to be able to use this. This code was tested with the following: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could we expand the documentation? Seems like there should be a bit more here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure. I'll add my environment setup.
Retest this please |
@night1rider will you plan to take this for a test-drive? |
Yes, I will schedule a job on the HPC to run. |
Ran it in a singularity container here is my results for the H100 @dgarske @bandi13 : H100 Benchmark
|
* Redirect the AesEncrypt_C call to device * Fix function declarations * Force CC=nvcc with CUDA * Don't let C++ mangle function names * Add larger parallelization * Add in memory copy to device * `nvcc` does not support '-Wall' nor '-Wno-unused' * Add in README.md * Clean up script to output color coded data * Fix Asymmetric cipher comparisons * Add in standard output parsing in addition to the CSV * Add option to output results in a CSV --------- Co-authored-by: Andras Fekete <[email protected]>
Added in support for AesEncrypt_C in CUDA