Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
15469 Discussions

Alternate solution for clGetPlatformIds

Altera_Forum
Honored Contributor II
805 Views

Hi, 

I have implemented a sample OpenCL program. In which kernel is consuming ~10 milli seconds and host API calls are consuming ~950 milli seconds. 

clGetPlatformIds() is consuming 840 milli seconds of 950 milli seconds. I'm using single platform. Is there any way to determine the platformId and to hardcode the value without invoking clGetPlatformIds(). 

 

Is there any alternate/optimized solution for getting the platformId?
0 Kudos
0 Replies
Reply