Intel® High Level Design
Support for Intel® High Level Synthesis Compiler, DSP Builder, OneAPI for Intel® FPGAs, Intel® FPGA SDK for OpenCL™
661 Discussions

Unable to find Intel FPGA OpenCL Emulation platform.

CLian11
Beginner
1,082 Views

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!

0 Kudos
1 Reply
Sergey_I_Intel1
Employee
1,082 Views

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

0 Kudos
Reply