Mobile and Desktop Processors
Intel® Core™ processors, Intel Atom® processors, tools, and utilities
16486 Discussions

Device: Max work group size:

OmJadhav
Beginner
888 Views

Getting following error while while trying to get Max group size on Intel Skylake. Can anyone please suggest what should I do ?

 

Error : terminate called after throwing an instance of 'cl::sycl::runtime_error'
what(): No device of requested type available.

 

Program :

 

#include <CL/sycl.hpp>

using namespace cl::sycl;

int main() {

gpu_selector selector;

queue q(selector);

// Print the device name
std::cout << "Device: " << q.get_device().get_info<info::device::name>() << std::endl;
std::cout << "Device: Max work group size: " << q.get_device().get_info<info::device::max_work_group_size>() << std::endl;

return 0;
}

0 Kudos
3 Replies
DeividA_Intel
Employee
858 Views

Hello OmJadhav


Thank you for posting on the Intel communities. 


In order to have a better understanding of your issue, please share with us the following information:


  1. Which processor are you using?
  2. Is this for a software development project?
  3. Which programming language are you using?


Regards, 

Deivid A. 

Intel Customer Support Technician 


0 Kudos
DeividA_Intel
Employee
831 Views

Hello OmJadhav,  


  


Were you able to check the previous post and get the information requested? Please let me know if you need more assistance.   


  


Regards,  


Deivid A.  

Intel Customer Support Technician  


0 Kudos
DeividA_Intel
Employee
814 Views

Hello OmJadhav, 


  


We have not heard back from you, so we will close this inquiry. If you need further assistance or if you have additional questions, please create a new thread and we will gladly assist you.    


  


Regards,  


Deivid A.  

Intel Customer Support Technician  


0 Kudos
Reply