We support asynchronous sends, that means that the kernel can issue a
send, then exit the kernel as we do with the EXIT syscall. Because of
the condition it's therefore possible for the kernel to exit and break
from the loop before we check the server again. This can potentially
cause us to ignore an EXIT call from the GPU.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
If the server gets a value after the kernel has finished, it can send work back to the kernel, which won't do anything useful. Is there a way we can guard against that, perhaps in handle?
Comment Actions
I don't think that's possible given the API, the kernel would be blocked on that value to be returned from the server and unable to exit.