Skip to content

Commit

Permalink
README fixes [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
mratsim committed May 23, 2020
1 parent 33a446c commit db581e4
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
10 changes: 9 additions & 1 deletion demos/raytracing/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit db581e4

Please sign in to comment.