Skip to content

Segmentation fault when hipifying code. #47

Description

@SingL3

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 .

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions