Skip to content

Assert usage in device code with DPC++ #1972

Open
@MikeDvorskiy

Description

@MikeDvorskiy
          Based on [1933](https://github.com/oneapi-src/oneDPL/pull/1933#discussion_r1873731880) discussion,  I agree with following conclusion: 

We should consider the use of assert in device code as an extension of DPC++ and possibly other SYCL implementations, so it should be guarded by some macros

I don't insist doing it in this PR but I will create an GitHub issue.

Originally posted by @MikeDvorskiy in #1970 (comment)

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