In order to enqueue a task to the IPU, I am currently using the following C function call in my program:
ioctl(fd_ipu, IPU_QUEUE_TASK, &task)
It works, but it only returns when the enqueued task in the IPU is finished. I would like to do it in an non blocking way, by for example providing a callback function to the IPU, so that I can still use my thread during the ipu operation.
Thank you very much for your help!