Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add assert implementation for device side testing #1918

Merged
merged 2 commits into from
Jun 26, 2024

Commits on Jun 25, 2024

  1. Add assert implementation for device side testing

    CCCL is tested in release build and by default assert is compiled out
    In hierarchy testing device side uses assert for convinient printing and termination,
    we do #indef NDEBUG to make the asserts stay.
    Recently I wanted to remove on extremally long running test from debug builds,
    but because of the #undef NDEBUG it was difficult to detect a debug build.
    I decided to just switch to a custom assert implementation and remove the #undef.
    This has another benefit that we could do warp aggregate error printing for easier
    readible logs etc in the future.
    pciolkosz committed Jun 25, 2024
    Configuration menu
    Copy the full SHA
    27c8e4d View commit details
    Browse the repository at this point in the history

Commits on Jun 26, 2024

  1. Change the cudax_require_impl from static to inline

    Co-authored-by: Bernhard Manfred Gruber <[email protected]>
    pciolkosz and bernhardmgruber authored Jun 26, 2024
    Configuration menu
    Copy the full SHA
    3ea5a0d View commit details
    Browse the repository at this point in the history