dilevin / computer-graphics-ray-tracing

Computer Graphics Assignment about Ray Tracing
1 stars 5 forks source link

Expected bunny raytracing runtime? #27

Closed mshoe closed 4 years ago

mshoe commented 4 years ago

How long should we expect raytracing to take for the bunny?

darren-moore commented 4 years ago
ginkxo commented 4 years ago

Where do we add -fopenmp to the Makefile to enable OpenMP parallelization?

darren-moore commented 4 years ago

Where do we add -fopenmp to the Makefile to enable OpenMP parallelization?

You can add the compiler option using -DCMAKE_CXX_FLAGS="-fopenmp" e.g. cmake -DCMAKE_CXX_FLAGS="-fopenmp" -DCMAKE_BUILD_TYPE=Release -DHW2LIB_DIR=../lib/release/linux/ ..

darren-moore commented 4 years ago

I can report back with a test on the CDF machines later.

for bunny I'm getting ~4:15 on CDF, and if I multithread(for fun), ~1:15.