Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
17268 Discussions

clGetDeviceIDs fails when passed CL_DEVICE_TYPE_ALL

Altera_Forum
Honored Contributor II
1,265 Views

Hello, 

When I call clGetDeviceIDs with CL_DEVICE_TYPE_ALL, it fails with CL_INVALID_DEVICE_TYPE, why? 

It works fine when I pass CL_DEVICE_TYPE_ACCELERATOR, but shouldn't it work with CL_DEVICE_TYPE_ALL as well since its intended purpose is to return ALL devices? 

Thanks.
0 Kudos
0 Replies
Reply