kvikio icon indicating copy to clipboard operation
kvikio copied to clipboard

A context for Codec `encode_batch` and `decode_batch`

Open madsbk opened this issue 1 year ago • 1 comments

Before proposing the new encode_batch and decode_batch API (https://github.com/rapidsai/kvikio/issues/248) to numcodecs Codec, I think we should introduce a new context argument similar to Zarr's Context.

This way, we can use the meta_array option to specify the output memory type of encode_batch and decode_batch.

cc. @Alexey-Kamenev

madsbk avatar Jun 29 '23 07:06 madsbk

Agreed, this would indeed be very valuable!

akshaysubr avatar Jun 29 '23 17:06 akshaysubr

Closing this issue, I don't think we need this for Zarr V3

madsbk avatar Jun 26 '24 13:06 madsbk