accel
accel copied to clipboard
include raw *.cu file
Is there a way to mix rust-accel with raw *.cu files?
I would like to write some device helper functions in *.cu, then call them from #[kernel] functions defined in rust-accel.
Is there an example for how to do this?
I would like to write some device helper functions in *.cu, then call them from #[kernel] functions defined in rust-accel.
It is impossible currently.
Possible way is to link cubin compiled from *.cu and #[kernel] at runtime using accel::module::link API.