I have a problem running/compiling my application to run on Intel Phi.
After I clean my solution and rebuild, I get errors such as below:
Error 25 error : *MIC* cannot open source file "Windows.h" C:\OpenMP_M41\shrd_sampleCPP\OpenMP_M41_IntensityCalculator\FileUtils.h 6
However, if I build again, program compiles successfully. However, the program fails to run on Intel Phi, complaining that there's no entry to the device.
offload error: cannot find offload entry __offload_entry_OpenMP_M41_IntensityCal
offload error: process on the device 0 unexpectedly exited with code 1