rust-opencl icon indicating copy to clipboard operation
rust-opencl copied to clipboard

Prefix sums and generic elementwise kernels

Open johanneskoester opened this issue 9 years ago • 1 comments

In line with pyopencl, it would be very useful to have support for prefix sums and ad hoc elementwise kernels. Do you consider rust-opencl the right place, or would you rather like to see a separate library to support such higher level functionality?

johanneskoester avatar Mar 05 '15 19:03 johanneskoester

It may not hurt to build some simple ones into rust-opencl. If nothing else, they'd serve as examples of how to write and use kernels.

For a while now, I've been tossing around the idea of doing something like Accelerate in Rust. The idea is you build up an expression data structure at runtime and then run some optimization passes on it and ultimately generate a CPU kernel to perform the computation. This is definitely something I'd say should go in a different library though.

eholk avatar Mar 09 '15 19:03 eholk