starpu_data_interface_ops allow to specify functions to pack and unpack data. Those functions takes byte buffer as argument which are expected to entirely contains the data. So if the user data representation is not an array he must have it two time in memory:
- the original data structure
- the byte array needed for the serialization
To avoid this it would be nice if StarPU would provide a way to stream the data using small arrays. It could be, for example, an API similar to the fread/fwrite functions.