OpenCL*: Cross Devices NBody Simulation Sample
Features / Description
The NBody Simulation Sample features a load balancing approach to compute NBody simulation across both CPU and Intel® HD Graphics.
This sample illustrates the basic principles of how to be efficient when working simultaneously with the OpenCL devices on both CPU and Intel® HD Graphics. Source code is accompanied with graphics visualization of the job distribution between the devices.Running OpenCL code on both CPU and Intel HD Graphics not only results in the sum of the performance of both devices, but also largely improves application power performance on Ultrabook™.
Supported Devices: Hybrid use of 3rd Generation Intel® Core™ processor CPUs and Intel® HD Graphics 4000/2500
Complexity level: Intermediate
Refer to the Release Notes for information on system requirements.
Also notice that the sample requires Microsoft DirectX* SDK to compile.
* OpenCL and the OpenCL logo are trademarks of Apple Inc. used by permission by Khronos.
This software is subject to the U.S. Export Administration Regulations and other U.S. law, and may not be exported or re-exported to certain countries (Burma, Cuba, Iran, Libya, North Korea, Sudan, and Syria) or to persons or entities prohibited from receiving U.S. exports (including Denied Parties, Specially Designated Nationals, and entities on the Bureau of Export Administration Entity List or involved with missile technology or nuclear, chemical or biological weapons).