Altera_Forum
Honored Contributor
8 years agoerror: Unexpected use of HDL library function(s)
Hi,
I'm using the 16.1 SDK to develop an OpenCL library. After added a second input parameter to my function, I get this error message (twice): error: Unexpected use of HDL library function(s) (possibly due to taking the address of the function)!
error: Unexpected use of HDL library function(s) (possibly due to taking the address of the function)! I'm definitely not taking the address of the function. Do you have any suggestion as to what this error message could mean? If I remove the second argument to the function everything works as expected. This seems like a bug to me. (The entire setup is basically the same as in the OpenCL library example where they show a floating point division example.) Thanks, Hanno