11-15-2017 10:35 AM
Hi.I have several operations on signed and unsigned long in my kernel, but only multiplication on signed long appears to use 8 DSP blocks. For example, division and modulo on long or unsigned long appear to produce costly logic instead of using DSP blocks. Is this expected behaviour in aoc version 16.0.X or an indicator for a bug in my code?
11-15-2017 11:01 PM
I don't think this has anything to do with OpenCL. Chances are that Altera does not at all have IP Cores for long division/modulo operations that use DSPs; in fact, maybe it is not at all possible to use the DSPs for such operations.