I am trying to hipify code from flash-attention, which has a dependency of cutlass.
I adapt the setup.py and when hipifying cutlass, segmentation fault happens. I debugged and the main reason is that there are some .h files that include each other. For example, simd.h and simd_sm60.h. Because the preprocessor will try to process the files that it includes and itself was not yet hipified successfully. This results in infinite loop.
I also report this in torch project Segmentation fault when hipifying code.
And I think it is likely duplicated to #39 .
I am trying to hipify code from flash-attention, which has a dependency of cutlass. I adapt the setup.py and when hipifying cutlass, segmentation fault happens. I debugged and the main reason is that there are some .h files that include each other. For example, simd.h and simd_sm60.h. Because the preprocessor will try to process the files that it includes and itself was not yet hipified successfully. This results in infinite loop. I also report this in torch project Segmentation fault when hipifying code. And I think it is likely duplicated to #39 .