4

Is it possible to use the Intel HD 4000 integrated graphics and the discrete GPU at the same time with OpenCL (or CUDA) as devices and the CPU as the host? I want some code running on the integrated graphics while other code is running on my GPU at the same time.

2
  • As far as I know, Intel's GPUs does not support OpenCL or any of other GPGPU libraries... – aland Aug 17 '12 at 5:19
  • 3
    @aland: Intel quietly introduced OpenCL support for the Ivy Bridge HD4000 GPU a couple of months ago. – talonmies Aug 17 '12 at 5:22
5

It is possible to run OpenCL on some of the Ivy Bridge integrated GPUs using Intel's most recent Windows OpenCL SDK (available here). The Intel ICD will enumerate both the host CPU and integrated GPU as OpenCL capable devices. You will then need to use the discrete GPU vendor's SDK and ICD to identify and enumerate that as an OpenCL device. Once that is done, contexts can be established on the GPUs and the standard OpenCL multi-gpu design patttern used to get code running on both devices. Whether this actually works in practice will depend on the support and stability of both vendor's SDKs.

I have an Ivy-Bridge + discrete GPU system and have confirmed that the Intel ICD enumerates the HD4000 as a compute device. I have not yet tried OpenCL simultaneously on both devices.

NVIDIA does not support CUDA on anything other than their own GPUs.

2
  • thank you for all the information, i really think this is a cool technology, i hope opencl will continue to grow – user1567527 Aug 18 '12 at 4:35
  • @user1567527: If this response answers your question, you can accept it, which will show that your question has been answered. – talonmies Aug 18 '12 at 6:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.