Forum Discussion
Altera_Forum
Honored Contributor
11 years agoAre you getting the error on the FPGA with the 14.0 version of AOC as well? The issue may have already been fixed.
Otherwise, I do not see anything unusual in your code. Any legal OpenCL code is expected to work. Perhaps the casting may be exposing a different issue in your code or in the compiler. Will you be able to describe how you are using the ures? or perhaps opening a service request and send your code?