annotate README.txt @ 1:3840d91821c4
VPThread version is working
| author |
Merten Sach <msach@mailbox.tu-berlin.de> |
| date |
Tue, 16 Aug 2011 20:31:31 +0200 |
| parents |
|
| children |
|
| rev |
line source |
|
msach@0
|
1 Kernel: Ray Tracing
|
|
msach@0
|
2
|
|
msach@0
|
3 This is a kernel-type benchmark of a very simple and brute-force ray tracer.
|
|
msach@0
|
4
|
|
msach@0
|
5 Installation:
|
|
msach@0
|
6
|
|
msach@0
|
7 To install the kernel benchmark, navigate to the directory this file is located in, open up a terminal and simply type 'make'. For certain architectures
|
|
msach@0
|
8 or special compilation options, you might need to change compilation parameters in the makefile.
|
|
msach@0
|
9
|
|
msach@0
|
10 Usage:
|
|
msach@0
|
11
|
|
msach@0
|
12 You may execute the benchmark by navigating to this directory after compilation and typing
|
|
msach@0
|
13
|
|
msach@0
|
14 ./c-ray-mt -i FILENAME -s RESOLUTION -o OUTPUT.ppm
|
|
msach@0
|
15
|
|
msach@0
|
16 'FILENAME' has to be either "scene" or "sphfract" or another predefined scene description file if there is one.
|
|
msach@0
|
17 'RESOLUTION' specifies the resolution of the produced image and has to be given in the form 1920x1200, for example.
|
|
msach@0
|
18 'OUTPUT' is the name of the file the rendered image will be contained in after the benchmark ran.
|
|
msach@0
|
19
|
|
msach@0
|
20 The specification of how many threads are used to perform the rendering depends on the parallel programming model.
|
|
msach@0
|
21
|
|
msach@0
|
22 Benchmark Versions:
|
|
msach@0
|
23
|
|
msach@0
|
24 Serial
|
|
msach@0
|
25 POSIX Threads
|
|
msach@0
|
26 OpenMP SuperScalar
|
|
msach@0
|
27
|