Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Altera_Forum
Honored Contributor I
744 Views

Alternate solution for clGetPlatformIds

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