Open Ivorforce opened 3 weeks ago
The requirements for this are now implemented: Everything uses abstract allocators, so we should be able to replace DType inputs everywhere with SType inputs. The most important part is keeping the two synchronized, such that every 'natural' xtensor dtype is at the same spot as its SType counterpart, while packed types come after them.
This will unfortunately mean moving all the
allocation
tools into gd conversion, but it's probably worth it for accelerated allocation to packed arrays and similar.We should be able to simplify to empty(dtype) -> va::initialize though.