warp.lower_bound#

warp.lower_bound(arr: Array[Scalar], value: Scalar) int#
  • Kernel

Search a sorted array arr for the closest element greater than or equal to value.

warp.lower_bound(
arr: Array[Scalar],
arr_begin: int32,
arr_end: int32,
value: Scalar,
) int
  • Kernel

Search a sorted array arr in the range [arr_begin, arr_end) for the closest element greater than or equal to value.