| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
…rp primitives and calls the new primitives for CUDA versions greater than 9 and the old ones for older CUDA versions. The new primitives have an additional argument which is a mask of the warp threads that are participating in the operation. The old primitives always involve all the threads in a warp. The wrapper routines originally allowed you to specify the mask which was ignored for the old primitives but this has now been removed. This is because if an old version of CUDA is being used then all threads must enter the wrapper routine and if a new version of CUDA is being used only the threads corresponding to the mask must enter. If threads outside the mask enter the routine then the behavior is undefined. In CUDA versions <=12.2 the primitive executes without any errors given however in later versions of CUDA a warp illegal instruction exception will be thrown. In order to preserve the same behavior of these wrapper functions for old and new versions of CUDA, the mask is always set to all threads in a warp for the new primitives. The specific new primitive can always be called with a custom mask which is already done elsewhere in the reduce_by_key routine.
… cusolver ormqr routine call which was causing memory errors.
…workspace size was not being calculated for the cusolver ormqr routine.
…t type to ensure all tests pass.
Note that this will be superseded by #3588
There was a problem hiding this comment.
Hi, thank you for digging into this!
Sorry, something went wrong.
|
This patch is now a part of the ArrayFire Arch Linux repository package. |
Sorry, something went wrong.
There was a problem hiding this comment.
Tested on Windows 11, passed all tests
Sorry, something went wrong.
Update driver versions to minimum required. Co-authored-by: Filip Matzner <FloopCZ@users.noreply.github.com>
…nning-with-cuda-126
| Back | FazBrowse Home | New Git URL |
Fixes for bugs uncovered by CUDA version 12.6
Description
Fixes: #3580
Checklist