warp.hash_grid_point_id#

warp.hash_grid_point_id(id: uint64, index: int32) int#
  • Kernel

Return the index of a point in the warp.HashGrid.

This can be used to reorder threads such that grid traversal occurs in a spatially coherent order.

Returns -1 if the warp.HashGrid has not been reserved.