Commit 68428ee
committed
fix: add reinterpret_cast for hipFuncSetAttribute in kvarn ROCm build
HIP's hipFuncSetAttribute requires const void* but cannot implicitly
convert a kernel function pointer, unlike native CUDA. Use
reinterpret_cast<const void*> to match the pattern already used in
fattn-mma-turbo.cuh and fattn-mma-f16.cuh.1 parent 5ec9c50 commit 68428ee
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
639 | 639 | | |
640 | 640 | | |
641 | 641 | | |
642 | | - | |
| 642 | + | |
643 | 643 | | |
644 | 644 | | |
645 | 645 | | |
| |||
0 commit comments