You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
LLVM 7.1 (and thus nvvm) lacks native 128-bit integer intrinsics, so emulate them using 64-bit operations.
I also added an example with `sha2` to confirm it works and show
folks that crates.io crates can often be used directly unmodified.
Fixes#207.
Copy file name to clipboardExpand all lines: examples/cuda/README.md
+12-2Lines changed: 12 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,9 +2,19 @@
2
2
3
3
The examples in here showcase both the GPU side and the CPU side of writing a tool which uses the GPU.
4
4
5
-
## [Interactive Path Tracer](cpu/path_tracer)
5
+
## Available Examples
6
6
7
-
This example showcases a very simple interactive Path Tracer inspired by [Ray Tracing In One Weekend](https://raytracing.github.io/books/RayTracingInOneWeekend.html)
7
+
### [vecadd](vecadd)
8
+
A simple vector addition example demonstrating basic CUDA kernel usage.
9
+
10
+
### [gemm](gemm)
11
+
General Matrix Multiplication (GEMM) implementation showing more complex CUDA operations.
12
+
13
+
### [sha2_crates_io](sha2_crates_io)
14
+
Demonstrates using an existing Rust crate ([`sha2`](https://crates.io/crates/sha2) from crates.io) on both CPU and GPU without modification. Shows that the same cryptographic hashing code can run on CUDA, producing identical results to the CPU implementation.
15
+
16
+
### [Interactive Path Tracer](path_tracer)
17
+
A very simple interactive Path Tracer inspired by [Ray Tracing In One Weekend](https://raytracing.github.io/books/RayTracingInOneWeekend.html)
8
18
which runs on CPU or GPU, with the additional option of running OptiX denoising.
0 commit comments