Rene Greiner
Rene Greiner
Excuse me, I was not detailed enough. I meant do you plan to Support Events somehow so that it is possible to synchronize Queues. E.g. my processing Queue enqueued some...
Yes of course using pinned Memory is already possible. I just wrote a wrapper which acts like the map() function, but adds a functor parameter. ``` void write(const cl::CommandQueue &q,...
> It would return a wrapper struct with an assignment operator that would delegate the work to the usual assign_expression function while providing some extra information. If I understand correctly,...
lol yes, took me 2mins to think about it. Seems I'm thinking much too complicated.
This way I could also calculate a histogram with a custom kernel within the processing queue and wait for the histo_ready_event in the download queue to transfer it back to...
Looks good and understandable. Is the [finish()](https://github.com/ddemidov/vexcl/blob/master/tests/events.cpp#L20) required?
Yes of course, but "x = 2;" is a second kernel and can only start if x already was completely filled with 1 if I understood those asynchronuous kernels correctly....
Okay ;), strange I didn't miss it but it's of course useful. Afaik the command_queue vector in your copy functions can also be const, and you could merge both write/read...
> > I would call it `adc_deinit()`, similar to `i2c_deinit()`. Not really, I don't expect a deinit function to have a parameter. This function really can enable or disable the...
> > > I would call it `adc_deinit()`, similar to `i2c_deinit()`. > > > > > > Not really, I don't expect a deinit function to have a parameter. This...