Closed richardfixstars closed 1 month ago
@richardfixstars Can you reimplemnt generic version of bind
as a wrapper function of the new function which you propose?
@richardfixstars Can you reimplemnt generic version of
bind
as a wrapper function of the new function which you propose?
That makes sense. Done.
Port.bind(T* data) is restrictive to use in certain circumstances.
Adding a Halide::Type as an argument and removing the generic typing helps.
Port.bind(Halide::Type, void* data) allows binding to raw addresses.