RRZE-HPC / stempel

Stencil TEMPlate Engineering Library
GNU Affero General Public License v3.0
6 stars 2 forks source link

argument of the kernel function is always a pointer #9

Closed sguera closed 7 years ago

sguera commented 7 years ago

The kernel function is built in a way that creates its signature collecting the names of the variables needed, but assignes to them always the type pointer to something (int, double, ...).

This must be changed: if a variable is a double the signature must be double, if an int then the signature must contain an int

sguera commented 7 years ago

fixed in https://github.com/RRZE-HPC/stempel/commit/efe8c70d935e3111f6098aa6915f3f6c34047fa2