abs-tudelft / fletcher

Fletcher: A framework to integrate FPGA accelerators with Apache Arrow
https://abs-tudelft.github.io/fletcher/
Apache License 2.0
217 stars 31 forks source link

"Cancel previous" feature for command stream of ArrayReaders #191

Closed johanpel closed 3 years ago

johanpel commented 5 years ago

Sometimes a kernel might have requested a pretty long range of rows/records to operate on, but based on the data figures out that it doesn't need the full range anymore.

It would therefore be useful if a kernel can send a new command with an additional "cancel previous" bit of some sort. That would cause the interface to stop making new request for the current command, flush as much data as possible that is already requested or present in FIFOs, and assert the last value to be handshaked at the kernel side output with the last bit asserted.

johanpel commented 3 years ago

This feature is too complicated to implement for any 0.0.x version, so I'm closing this. In a future redesign for 0.1, we should reconsider this.