Skip to content

crash when using BOLT_HD_WARNING_DISABLE and BOLT_DECL_HYBRID #8

@ghost

Description

It seems that the combination of pragma BOLT_HD_WARNING_DISABLE and BOLT_DECL_HYBRID on the same line above the method can somehow disable the BOLT_DECL_HYBRID. The compilation throws warnings about using host only code on device, and the execution crashes. If BOLT_HD_WARNING_DISABLE is removed, the code works fine.

There is a crashing example in the attachments. If BOLT_HD_WARNING_DISABLE is removed, it works.

test.cu.txt
CMakeLists.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions