Added script for compiling and running
Script for calculating average of a log file
Better avg script.
Merge pull request #2 from emwap/master

Use device global memory when possible
Merge pull request #3 from emwap/master

Compiler fixes
fixed intermediate storage in for loop.
Added comment
Added alternative kernel for scan/pire. Includes main-file.
Added plotscript
cleaned up
removed do notation in compileProgTop
Case'ing on type when adding inParam in compileProgTop
Removed typeStripped-let from compileProgTop.
Removed bugged free-call in ForLoop
fixed typo
Added release of memory for arguments that are allocated as mem-buffers
Cleaned up in examples
modified runTests to start at 1024 and run to 10^24
Removed pireNewKernel dir
Main file for dot product example
Changed bitonic fun.c localitemsize to 1024