Added u64_max and a definition necessary to make uint64_t work.

Signed-off-by: Marcin Zalewski <marcin.zalewski@gmail.com>
On-GPU allocation of vectors. Fixes #67.

I'm breaking my rule of only checking in code that passes all the tests. I suspect these are OpenCL bugs, not cases where we are disobeying the spec.
Modified bfs to work with distances.

This is an initial version.

Signed-off-by: Marcin Zalewski <marcin.zalewski@gmail.com>
Change make-vector into a macro that generates kernels that we can optimize.
Merged.

Signed-off-by: Marcin Zalewski <marcin.zalewski@gmail.com>
Report more accurate timings on BFS.
Working on a more robust kernel inliner.
Cleaning up some output in the vector addition benchmark.
Merge branch 'master' of git@github.com:eholk/harlan into bigred2
Merge branch 'kernel-fusion' of git@github.com:eholk/harlan into bigred2
Merged.

Signed-off-by: Marcin Zalewski <marcin.zalewski@gmail.com>
Added a color-based and a distance-based bfs.

The two BFS's could be merged and selected at run time.

Signed-off-by: Marcin Zalewski <marcin.zalewski@gmail.com>
Merge branch 'master' into kernel-fusion
Fixing up dot product benchmark.
Updating vector addition benchmark.
Merging latest kernel-fusion changes.