Skip to content
Snippets Groups Projects

Move custom GPU atomics into separate namespace. Add a script to print the include path.

Merged Frederik Hennig requested to merge fhennig/runtime-integration into v2.0-dev
  • Move the custom atomicMin/Max/Mul functions to namespace pystencils::runtime::gpu, such that no name conflicts may ever arise with native CUDA/HIP functions
    • Other than CUDA, HIP defines atomicMin, atomicMax for floating-point types, so our definitions were raising duplicate-definition errors
  • Use C++17 in cupy JIT compiler (for qualified namespace names)
  • Make the pystencils.include module executable as a script to print the path to the pystencils header directory to stdout
Edited by Frederik Hennig

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading