Processors
Processors (Intel® Core™, Intel® Xeon®, etc); processor utilities and programs (Intel® Processor Identification Utility, Intel® Extreme Tuning Utility, Intel® Easy Streaming Wizard, etc.)
12599 Discussions

Device: Max work group size:

OmJadhav
Beginner
185 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
Moderator
155 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 


DeividA_Intel
Moderator
128 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  


DeividA_Intel
Moderator
111 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  


Reply