warp.utils#
Utilities supporting Warp’s high-level workflows.
Array Operations#
Cast elements from one array to another array with a different data type. |
|
Compute the inner product of two arrays. |
|
Perform a scan (prefix sum) operation on an array. |
|
Compute the sum of array elements. |
Sorting#
Sort key-value pairs using radix sort. |
|
Perform run-length encoding on an array. |
|
Sort key-value pairs within segments. |
Graph Coloring#
Graph coloring algorithm selection. |
|
Assign colors to graph nodes such that no two adjacent nodes share the same color. |
|
Balance the sizes of color groups in a graph coloring. |
|
Convert node colors into per-color groups. |
Misc#
Create a Warp function from a Python function. |