Title: anyone ever use integrated intel openCL device ? Post by: ker2x on October 06, 2016, 12:33:52 PM Hey :)
Anyone ever managed to use the integrated graphic card of an intel CPU as an openCL device ? It's supposed to works but my cpu (i7 4770K) was never recognized as an openCL device. I didn't try hard however, maybe a bios thingy ? an sdk ? a runtime ? thx <3 Title: Re: anyone ever use integrated intel openCL device ? Post by: phtolo on October 06, 2016, 12:51:02 PM I have tested it and it worked for me without any configuration (windows 10, Intel i5-6440).
Are you using a 64-bit OS ? It seems OpenCL is a 64-bit only thing. Theres a list of supported devices/OSes here: https://www.khronos.org/conformance/adopters/conformant-products#opencl Title: Re: anyone ever use integrated intel openCL device ? Post by: quaz0r on October 06, 2016, 01:47:20 PM i have a 4770k also. on linux you need to use beignet (https://wiki.freedesktop.org/www/Software/Beignet/), an open-source opencl implementation for intel. if you have multiple opencl devices you also want to go ahead and use ocl-icd (http://forge.imag.fr/projects/ocl-icd/), which is an opencl middleware sort of library which enables programs to access multiple different opencl devices through the single libOpenCL.so it provides.
i have no idea about windows though. i was actually wondering this myself recently, if windows has anything akin to ocl-icd ? Title: Re: anyone ever use integrated intel openCL device ? Post by: ker2x on October 06, 2016, 06:34:41 PM I'm on windows 10 64 bits.
I just tested with luxmark and only the GPUs are detected as openCL device Title: Re: anyone ever use integrated intel openCL device ? Post by: ker2x on October 06, 2016, 06:37:01 PM installed this https://software.intel.com/en-us/articles/opencl-drivers#core_xeon
it works now but i'm not really sure if it use the embedded graphic card. (or if it's possible to use it) Title: Re: anyone ever use integrated intel openCL device ? Post by: ker2x on October 06, 2016, 06:59:46 PM Code: 2016-10-06 18:57:59 - [LuxRays] [12.297] Device 1 type: OPENCL_GPU Title: Re: anyone ever use integrated intel openCL device ? Post by: 3dickulus on October 07, 2016, 01:56:51 AM the bios (depending on motherboard make/model) may allow enabling both onboard and gfx card devices at the same time ( mine does :) ) but usually defaults to the gfx card when one is available, it may also depend on version compatibility, as in, it only works if both devices can use the same driver and OpenCL version.
Title: Re: anyone ever use integrated intel openCL device ? Post by: quaz0r on October 07, 2016, 04:01:20 AM Quote from: 3dickulus the bios (depending on motherboard make/model) may allow enabling both onboard and gfx card devices at the same time ( mine does  ) but usually defaults to the gfx card when one is available do bioses actually default to disabling compute devices when more than one exists? that would seem a most ill-conceived behavior :-\ Quote from: 3dickulus it may also depend on version compatibility, as in, it only works if both devices can use the same driver and OpenCL version. and indeed, it only works if the multiple devices can use the same driver, which is why something like ocl-icd exists. it exists as your system's libOpenCL.so (the library dll or whatever in windows terms), and itself interfaces the different actual libOpenCL.so's associated with your different compute devices, providing programs with a clean and straightforward way of accessing multiple differing opencl devices. and again i would be interested to hear if anyone knows if there is such a thing in windows land ? Title: Re: anyone ever use integrated intel openCL device ? Post by: 3dickulus on October 07, 2016, 04:45:08 AM it doesn't "see" 2 devices unless I explicitly enable both in the bios and the few times I've played with the idea I don't get them both crunching at the same time due to version issues... too old? maybe I should update my MoBo. CPUocl + GPUocl works but the other gfx processor is left idle.
Title: Re: anyone ever use integrated intel openCL device ? Post by: mclarekin on October 07, 2016, 05:13:04 AM My two cents, if I understand this post :-
From memory when using Mandebulber 1.21 OpenCL version I get the choice of running openCL on three devices - intel cpu - embedded Intel graphics - graphics card Title: Re: anyone ever use integrated intel openCL device ? Post by: ker2x on October 11, 2016, 11:03:31 AM My two cents, if I understand this post :- From memory when using Mandebulber 1.21 OpenCL version I get the choice of running openCL on three devices - intel cpu - embedded Intel graphics - graphics card i'll give it a try :) Title: Re: anyone ever use integrated intel openCL device ? Post by: woronoi on November 17, 2016, 09:07:35 AM (https://cloud.githubusercontent.com/assets/11328666/20380811/521b5c50-acb5-11e6-9302-17d0f5513914.png) |