From f090fe76a7dd061f8ff68ae60e0a1d1cf345792c Mon Sep 17 00:00:00 2001 From: jbikker Date: Thu, 12 Dec 2024 20:46:10 +0100 Subject: [PATCH] Replace OpenMP in pt with C++11 threads. --- README.md | 4 ++-- vcproj/tiny_bvh_anim.vcxproj | 2 -- vcproj/tiny_bvh_pt.vcxproj | 2 -- 3 files changed, 2 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 2c93294..be1aada 100644 --- a/README.md +++ b/README.md @@ -63,9 +63,9 @@ The cross-platform fenster-based single-source **bitmap renderer** can be compil ```g++ -std=c++20 -mavx -O3 -framework Cocoa tiny_bvh_fenster.cpp -o tiny_bvh_fenster``` (on macOS) -The multi-threaded **ambient occlusion** demo can be compiled with +The multi-threaded **path tracing** demo can be compiled with -````g++ -std=c++20 -mavx -mwindows -fopenmp -O3 tiny_bvh_pt.cpp -o tiny_bvh_pt```` (on windows) +````g++ -std=c++20 -mavx -mwindows -O3 tiny_bvh_pt.cpp -o tiny_bvh_pt```` (on windows) The **performance measurement tool** uses OpenMP and can be compiled with: diff --git a/vcproj/tiny_bvh_anim.vcxproj b/vcproj/tiny_bvh_anim.vcxproj index 5e90301..c084f12 100644 --- a/vcproj/tiny_bvh_anim.vcxproj +++ b/vcproj/tiny_bvh_anim.vcxproj @@ -118,7 +118,6 @@ true stdcpp20 ..\external\embree\include - false Windows @@ -137,7 +136,6 @@ true stdcpp20 ..\external\embree\include - true Full Speed AdvancedVectorExtensions diff --git a/vcproj/tiny_bvh_pt.vcxproj b/vcproj/tiny_bvh_pt.vcxproj index a47f1c0..2f582b1 100644 --- a/vcproj/tiny_bvh_pt.vcxproj +++ b/vcproj/tiny_bvh_pt.vcxproj @@ -118,7 +118,6 @@ true stdcpp20 ..\external\embree\include - false Windows @@ -137,7 +136,6 @@ true stdcpp20 ..\external\embree\include - true Full Speed AdvancedVectorExtensions