diff --git a/README.md b/README.md index 3ced943..94c959d 100644 --- a/README.md +++ b/README.md @@ -269,7 +269,7 @@ and for shutdown Once setup, a foreign thread can submit jobs via: - `submit fnCall(args)` which submits a function to the Weave runtime and gives you an awaitable `Pending` handle. -- `newFlowEvent`, `trigger` and `submitDelayed` (experimental) to delay a task until some dependencies are met. This allows expressing precise data dependencies and producer-consumer relationships. +- `newFlowEvent`, `trigger`, `submitOnEvent` and `submitOnEvents` (experimental) to delay a task until some dependencies are met. This allows expressing precise data dependencies and producer-consumer relationships. - `waitFor(Pending)` which await a Pending job result and blocks the current thread - `isReady(Pending)` will check if `waitFor` will actually block or return the result immediately. - `isSubmitted(job)` allows you to build speculative algorithm where a job is submitted only if certain conditions are valid. diff --git a/demos/raytracing/README.md b/demos/raytracing/README.md index 80a9bfc..d60a48c 100644 --- a/demos/raytracing/README.md +++ b/demos/raytracing/README.md @@ -65,7 +65,15 @@ g++ -O3 -o build/ray_gcc_single demos/raytracing/smallpt.cpp g++ -O3 -fopenmp -o build/ray_gcc_omp demos/raytracing/smallpt.cpp clang++ -O3 -o build/ray_clang_single demos/raytracing/smallpt.cpp -clang++ -O3 -fopenmp -o build/ray_clang_single demos/raytracing/smallpt.cpp +clang++ -O3 -fopenmp -o build/ray_clang_omp demos/raytracing/smallpt.cpp +``` + +Then run for 300 samples with + +``` +build/ray_threaded 300 +# ... +build/ray_clang_omp 300 ``` ### Results & Analysis