Skip to content

Commit

Permalink
Merge branch 'dev' of https://github.com/jbikker/tinybvh into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
jbikker committed Dec 6, 2024
2 parents 45c7cbe + 68a7605 commit 7855712
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ Single-header OpenCL library, which helps you select and initialize a device. It
* Vendor and architecture detection and propagation to #defines in OpenCL code
* ..And many other things.

![Rendered with tinybvh](images/test.png)

To use tinyocl, just include ````tiny_ocl.h````; this will automatically cause linking with ````OpenCL.lib```` in the 'external' folder, which in turn passes on work to vendor-specific driver code. But all that is not your problem!

Note that the ````tiny_bvh.h```` library will work without ````tiny_ocl.h```` and remains dependency-free. The new ````tiny_ocl.h```` is only needed in projects that wish to trace rays _on the GPU_ using BVHs created by ````tiny_bvh.h````.
Expand Down

0 comments on commit 7855712

Please sign in to comment.