When I include a !$acc region do in my code and it generates a kernel I then get hundreds of messages like this below. If I put the !$acc region do ina wrong place and it doesnt generate a kernel then it continues to com[pile and run OK. Its something to do with a header file I think so maybe Ive got an envirnoment variable or PATH set wrong?
c:\program files\pgi\win64\2011\cuda\3.2\include\surface_functions.h(1355): erro
r: calling a host function from a device/global function is not allowed
Thanks for the help