Skip to content
Snippets Groups Projects

Address of SymPy-Function `address_of`

Merged Stephan Seitz requested to merge seitz/pystencils:address_of-function into master

Some CUDA functions (like atomic_add) require pointers to data. This PR adds a SymPy function representing the C address-of operator (&).

I tried to trigger cse to show a problem related to this function (dummy variables were not typed correctly as pointer). I'll include the fix in a follow-up PR.

Edited by Stephan Seitz

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