Skip to content

[alpaka] Should we define ALPAKA_DEBUG_OFFLOAD_ASSUME_HOST for the CPU backends? #228

@makortel

Description

@makortel

#219 changed all uses of assert() to use ALPAKA_ASSERT_OFFLOAD, and this disables the assertions by default. This behavior corresponds what we do in cuda program, but in cudacompat we have asserts enabled. A ALPAKA_DEBUG_OFFLOAD_ASSUME_HOST macro can be used to enable assertions, so the question is, should we enable that macro for Alpaka CPU backends to be consistent with the behavior of cudacompat?

(or vice versa, should we disable asserts also in cudacompat?)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions