[Beignet] Low latency io

Svein Berge sveinb at pvv.org
Sat Mar 26 09:47:46 UTC 2016


Hello Xiuli,

that’s great news! I tested the OCL20 branch in January. I don’t think it supported SVM atomics then, and I couldn’t get the OCL20 branch to build when I tried again last week. I will make a new attempt next week. You mention the need for an llvm patch to build it - could you tell me which patch that is?

> I have some question about the old style way, is the kernel need to be running all the time as the io changes the memory? And do some response to it at a low latency?

That is correct.
 
> And could you explain the idea about how “invalidate a cache line from the kernel” can help with you requires?

The idea is to write a loop in opencl which polls a memory location and flushes that memory location from cache so it will be read from system memory each time. But my understanding of the caching and coherence mechanisms involved is not good. Anyway, this point should be moot if you now support SVM atomics.

Cheers,

Svein

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/beignet/attachments/20160326/22ea905f/attachment.html>


More information about the Beignet mailing list