Stats computation can panic if the buffers are on the GPU.
So for me to do this, I have to figure out how to make this code:
let stats = storage_array.statistics();
if let Some(min) = stats.compute_min::<i64>() {
copy into a host buffer in order to compute the min stat. Do we need to fix that for the rest of the statistics, or is this just a bug? Shouldn't this compute function handle this internally?
Originally posted by @connortsui20 in #6873 (comment)