项目作者: karray

项目描述 :
All-Pairs N-Body
高级语言: JavaScript
项目地址: git://github.com/karray/n_body.git
创建时间: 2019-04-13T16:57:22Z
项目社区:https://github.com/karray/n_body

开源协议:

下载


Parallel N-Body Simulations

This is a simple example of an all-Pairs N-Body algorithm using OpenCL for simulation.

Prerequisites

  • python3
  • OpenCL
  • pyopencl, websockets and numpy packages

    Usage

    Starting OpenCL server
    1. cd server
    2. python3 server.py ../data/htw.csv
    Starting web server
    1. cd web
    2. python3 -m http.server
    Browse to http://127.0.0.1:8000