Coder Social home page Coder Social logo

ingpu's Introduction

------------------------------------------------------------
ingpu - an experimental GPU-based interaction nets evaluator
------------------------------------------------------------
author: Eugen Jiresch
for any comments, suggestions, feedback, please send an email to: jiresch (at) logic . at

NOTE: If running the new version on Linux:
- Requires CMake and CUDA
- Run `build.sh`

Requirements:
-------------
CUDA 4.0 or later
Boost 1.47 or later
ingpu uses some C++ 0x features

Build:
------
Project files for Visual Studio 2010 are provided.

Usage:
------
Currently, rulesets are coded as C++ CUDA kernels. To add your own, implement a header file similar to ackermann.h or fibonacci.h .
sample kernels provided:
ackermann.h
fibonacci.h
algae.h (basic L-System)
cantor_dust.h (Cantor dust fractal set)

Running ingpu will evaluate the input nets in input.txt. 
The following options are available in options.txt:
verbose: print debug information during reduction 
print_final: print the final set of rules
pause: if verbose is enabled, pause after each interaction/communication loop
ruleset: 1 = ackermann, 2 = L-System, 3 = fibonacci. to add your own ruleset, modify kernel.cu at line 796.
file_output: output some statistics/profiling to out.csv
soa: use "structure of arrays" input data instead of "array of structures" (default). work in progress, may crash for some rules/inputs
eval_all: evaluate all (uncommented) inputs in input.txt. If set to 0, only the first input is evaluated.
pause_between_inputs: pause after evaluating each input net.


Current known issues:
---------------
- sometimes crashes for large inputs
- soa mode is broken for ackermann
- VS2010 Debug mode is broken on some machines

ingpu's People

Contributors

euschn avatar edusporto avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.