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
[UR][CUDA][HIP] Fix large kernel arg buffer overflow (#17538)
CUDA and HIP have a fixed maximum size for kernel arguments, this patch
ensures that passing arguments large than this maximum size is handled
properly by the adapters.
This code really needs a refactoring to avoid duplication and allow
larger argument sizes (supported by newer CUDA versions), but this will
be in follow up work.
This patch is a quick fix to avoid potential buffer overflows.
---------
Co-authored-by: aarongreig <[email protected]>
0 commit comments