Forum Discussion
Altera_Forum
Honored Contributor
8 years agoI don't think multiple threads can access the same FPGA simultaneously. Altera's implementation seems to use some locking mechanism that when one thread/process accesses a device, it is locked to prevent other threads/processes from accessing it. You can use multiple queues with one thread/process to run multiple kernels on the same FPGA simultaneously (as long as all kernels were in the same .cl file); you don't need multiple threads in the host code to achieve this.