Forum Discussion
Unable to find Intel FPGA OpenCL Emulation platform.
Hi!
I want to emulate my Opencl kernel ,But when I change the platform to Intel(R) FPGA Emulation Platform for OpenCL(TM),
An Error occured:Unable to find Intel FPGA OpenCL platform.
main.cpp code:
platform = findPlatform("Intel(R) FPGA Emulation Platform for OpenCL(TM)");
if(platform == NULL) {
printf("ERROR: Unable to find Intel FPGA OpenCL platform.\n");
return false;
}
How can I emulate my opencl kernel?
Looking forward to your reply!Thank you very much!
1 Reply
- Sergey_I_Intel1
New Contributor
Hi Liang Cai,
Please, check that you have installed driver for FPGA and set environment for it.
OCL SDK 2019 Update 5 have Platform Info tool - it shows you every available device to run.
In addition you can try clinfo tool - https://github.com/Oblomov/clinfo. It also will show you available devices.
Best regards,
Sergey