Functions like `is_first()`, `is_last()` etc. in `on_device/grid_info.cuh` should return a boolean value, not an unsigned integer, which they currently do.
Functions like
is_first(),is_last()etc. inon_device/grid_info.cuhshould return a boolean value, not an unsigned integer, which they currently do.