I'm trying to get github actions to work with Intel FPGAs in a self hosted runner. Any time communication from the host to the FGPA is attempted there are errors like these ones:
Error initializing DMA: invalid parameter
Error initializing DMA: invalid parameter
Error closing DMA
Error closing DMA
...
aocl mmd alloc failed: Resource temporarily unavailable
aocl mmd alloc failed: Resource temporarily unavailable
aocl mmd alloc failed: Resource temporarily unavailable
If I run any aocl command or run any application that uses the OpenCL runtime environment normally in the system it works fine. It is only when it's running through github actions that it fails.