codecircuit / nbody

Simple GPU N Body Code

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Simple GPU N Body Code

This repository provides a simple intuitive self written GPU N Body Code. Its purpose is to represent a simple stereotypical GPU N Body Code. The CPU code is written in CUDA driver API and the device code in openCL. You can compile the code with the clang compiler plus an openCL library. Moreover you need the nvptx64--nvidiacl driver interface for the nvptx backend. You might find http://stackoverflow.com/questions/8795114/how-to-use-clang-to-compile-opencl-to-ptx-code helpful.

About

Simple GPU N Body Code


Languages

Language:C++ 42.4%Language:Cuda 41.1%Language:C 8.0%Language:Makefile 5.5%Language:Python 2.8%Language:Shell 0.2%