Skip to content

Address of SymPy-Function `address_of`

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