forked from srdanrasic/OpenCLWrapper
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
49 lines (35 loc) · 1.61 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
* ABOUT
This project is a part of the seminar work on potential of GPUs at
performing image processing related algorithms. Created by
Srđan Rašić
Faculty of Electrical Engineering and Computing,
University of Zagreb, Croatia
April 2012
* REQUIREMENTS
+ Unix platfrom
+ OpenCL compatible GPU (or CPU)
+ gcc (>=4.1)
+ libpng (>=1.2.x) (apt-get install libpng12-dev)
+ png++ (0.2.1, but other version should work well too) (apt-get install libpng++-dev)
+ OpenCL SDK (>= 1.0, tested with v1.1)
- to get OpenCL dev files on
Linux: Install proprietary drivers for NVIDIA/AMD GPUs and 'opencl-headers'
or install Intel OpenCL SDK for Intel GPUs and CPUs
Mac OSX: Install XCode
Windows: Should be same as for Linux, but to compile this code you
should deal with the sys/time.h and similar staff first :)
* COMPILATION AND EXECUTION
1. Change to directory in which this README is placed
2. Type 'make'
3. Type 'make run'
* NOTES
+ Executable is placed in directory './bin' and is named 'seminar'
+ Executable MUST be executed from directory '.', or
in other words, from directory in which this README is placed
+ To find out executable arguments, execute it without any
* NOTES ON SOURCE CODE
+ OpenCL framework subset in wrapped into a simple C++ wrapper called 'oclw'
You can use this wrapper to do basic staff on OpenCL compatible device.
To get more info about the wrapper, consult:
./docs/html/index.html or