How to make use of multiple platforms simultaneously?

How to make use of multiple platforms simultaneously?


I have a desktop with Intel CPU and Nvidia GPU. The Intel OpenCL SDK and Nvidia Driver have been installed. So I could get two platforms.

Now I try to solve a problem using these two platforms simultaneously. What I should do is to get two platform IDs and the devices IDs of each platform. Then two contexts should be created for each platform and several command queues for each devices. The problem should be split into several parts and each is solved on one devices.

Am I right? Any better ideas?

2 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.


This is the only solution for two different platforms.
OpenCL enables data and event sharing only within same OpenCL context.


Leave a Comment

Please sign in to add a comment. Not a member? Join today