eyalroz / cuda-kat

CUDA kernel author's tools
BSD 3-Clause "New" or "Revised" License
104 stars 8 forks source link

Templatize grid_info functions for less-than-3-dim kernels #51

Closed eyalroz closed 4 years ago

eyalroz commented 4 years ago

While we have a separate namespace for grid_info functions in linear grids, I also want to templatize the general versions of the functions to support working with such grids and minimizing unnecessary computations (= based on .y and .z value of positions and dimensions). I also want to do something similar for 2-D grids. So - I'm going to templatize.

Will implement this together with a "choice" w.r.t. issue #50.