Also, do not feel the need to be constrained by the structures that are currently defined.
On Mon, Dec 14, 2020 at 4:33 AM Antoine Pitrou <anto...@python.org> wrote: > > > Hi, > > If you set `can_execute_chunkwise = false` on the kernel options, you > should see the whole chunked array. > > Regards > > Antoine. > > > Le 14/12/2020 à 11:27, Yibo Cai a écrit : > > Current kernel framework divides inputs (e.g. arrays, chunked arrays) into > > batches and feeds to kernel code. > > Does it make sense to pass input args directly to kernel? > > I'm writing quantile kernel, need to allocate buffer to record all inputs > > and find nth at last. For chunked array, input is received chunk by chunk, > > kernel don't know the total buffer size to be allocated all at once. It > > will be convenient if the raw chunked array input is seen by the kernel. > > Or there are better ways to achieve this? Thanks. > >