use system header files instead of local ones

This commit is contained in:
Dakota St. Laurent
2015-07-07 17:14:07 -04:00
parent d954c321a0
commit 15d0ffaac2
6 changed files with 39 additions and 25 deletions

View File

@@ -1,16 +1,6 @@
# Example 01
This example compares the timings of adding vectors on the CPU versus adding vectors on the GPU, the latter of which has different implementations.
## Compiling
```
clang++ -std=c++0x -framework OpenCL main.cpp -o main.out
```
To ignore deprecation warnings, add the flag `-Wno-deprecated-declarations`.
Run from this directory, as a relative path is used for the OpenCL header file (for now).
## About
The code runs the following implementations of adding large vectors (131072 elements; 8 * 32 * 512). The vectors are added together 10000 times.