Uh oh!
There was an error while loading. Please reload this page.
NVRTC kernels for cast-transpose - #258
Conversation
Signed-off-by: Tim Moon <tmoon@nvidia.com>
dfc121b to
aed892aComparetimmoon10
commented
Jun 1, 2023
/te-ci |
timmoon10
commented
Jun 7, 2023
/te-ci |
timmoon10
commented
Jul 3, 2023
/te-ci |
timmoon10
commented
Nov 9, 2023
/te-ci |
timmoon10
commented
Nov 15, 2023
/te-ci |
timmoon10
commented
Dec 18, 2023
/te-ci |
timmoon10
commented
Jan 4, 2024
/te-ci |
Signed-off-by: Tim Moon <tmoon@nvidia.com>
timmoon10
commented
Jan 6, 2024
/te-ci |
timmoon10
commented
Feb 6, 2024
/te-ci |
timmoon10
commented
Mar 6, 2024
/te-ci |
timmoon10
commented
Apr 5, 2024
/te-ci |
timmoon10
commented
Apr 5, 2024
If there are no objections, I will merge this after the 1.6 release. |
Signed-off-by: Tim Moon <tmoon@nvidia.com>
Signed-off-by: Tim Moon <tmoon@nvidia.com>
timmoon10
commented
Apr 16, 2024
/te-ci |
timmoon10
commented
Apr 18, 2024
/te-ci |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
| const size_t num_tiles) { | ||
| __launch_bounds__(block_size) | ||
| cast_transpose_general_kernel(const IType * __restrict__ const input, | ||
| const CType * const noop, |
There was a problem hiding this comment.
Was the restrict keyword intentionally omitted here?
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Oleg-Goncharov
left a comment
There was a problem hiding this comment.
LGTM, besides the early return from the kernel configuration constructors
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Signed-off-by: Tim Moon <4406448+timmoon10@users.noreply.github.com>
timmoon10
commented
Apr 19, 2024
/te-ci |
* Add NVRTC kernels for cast-transpose Signed-off-by: Tim Moon <tmoon@nvidia.com> * Update copyright year Signed-off-by: Tim Moon <tmoon@nvidia.com> * Add noop flag to NVRTC cast-transpose kernel Signed-off-by: Tim Moon <tmoon@nvidia.com> * Apply suggestions from code review Signed-off-by: Tim Moon <4406448+timmoon10@users.noreply.github.com> --------- Signed-off-by: Tim Moon <tmoon@nvidia.com> Signed-off-by: Tim Moon <4406448+timmoon10@users.noreply.github.com> Signed-off-by: Pawel Gadzinski <pgadzinski@nvidia.com>
This is a follow-up to #138 that adds NVRTC kernels for cast-transpose.
I've also tweaked the kernel selection heuristics to be a bit more general. There are some performance differences at intermediate scale, but nothing too drastic:
Transpose kernel times
Evaluated FP8 transposes on an H100 PCIe with square matrices with nice dims (power of two or halfway between powers of two).