inducer / arraycontext

Choose your favorite numpy-workalike!
6 stars 11 forks source link

Add `flat_size_and_dtype` #150

Closed inducer closed 2 years ago

inducer commented 2 years ago

This is needed for buffer allocation in MPI communication in (multi-volume) grudge. Otherwise, the only way to find these metadata of a flattened buffer is to flatten it, which is a waste.

cc @majosm

inducer commented 2 years ago

Thanks for taking a look!