/OpenCL_NBody_Simulation

OpenCL_NBody_Simulation

Primary LanguageObjective-C++OtherNOASSERTION

OpenCL N-Body Simulation

Performs an N-Body simulation which calculates a gravity field and corresponding velocity and acceleration contributions accumulated by each body in the system from every other body. Shows how to mitigate computation between all available devices including CPU and GPU devices, as well as a hybrid combination of both, using separate threads for each simulator.

Requirements

Build

EL Capitan (OS X 10.11) and Xcode 7.1

Runtime

EL Capitan (OS X 10.11)

Copyright (C) 2015 Apple Inc. All rights reserved.