omlins / ParallelStencil.jl

Package for writing high-level code for parallel high-performance stencil computations that can be deployed on both GPUs and CPUs
BSD 3-Clause "New" or "Revised" License
311 stars 31 forks source link

@fill and @alloc allocators #59

Closed albert-de-montserrat closed 2 years ago

albert-de-montserrat commented 2 years ago

The macro @fill does exactly as as fill(), promoting the argument to the default numbertype of ParallelStencil or to a user defined type.

@alloc allocates empty arrays; again with ParallelStencil's numbertype or user defined types.

omlins commented 2 years ago

Closing as already adressed in #54