Forum Discussion
Altera_Forum
Honored Contributor
10 years agoOpenCL Emulator with Parallel Kernels and Channels
When using more than 3 parallel kernels that are interconnected with channels I get strange behavior in the during emulation. The kernels don't seem to actually run in parallel which causes deadlocks...
Altera_Forum
Honored Contributor
10 years agoHmmm I've had the opposite problem where everything works perfectly in emulation, but then fails on the actual device.
I think the emulator runs as a sequential program (emulating your kernels by running them one after another). I was able to get a 4 kernel cyclical design with channels running on the emulator. Perhaps there's a bug in your program causing the deadlocks? Otherwise the channels do seem to behave differently on the emulator and on the device.