├── .gitignore ├── Cargo.lock ├── Cargo.toml ├── README.md ├── chapter-0 ├── README.md └── host │ ├── Cargo.toml │ ├── benches │ └── chapter-0-benchmark.rs │ ├── src │ ├── filter │ │ ├── bilateral_parallel.rs │ │ ├── bilateral_sequential.rs │ │ └── mod.rs │ ├── image.rs │ └── lib.rs │ └── tests │ ├── parallel.rs │ ├── sequential.rs │ └── utils │ └── mod.rs ├── chapter-1 ├── README.md ├── device │ ├── Cargo.toml │ └── src │ │ └── lib.rs └── host │ ├── Cargo.toml │ ├── benches │ └── chapter-1-benchmark.rs │ ├── build.rs │ ├── src │ ├── filter │ │ ├── bilateral_cuda.rs │ │ └── mod.rs │ ├── image.rs │ ├── lib.rs │ └── static_cuda.rs │ └── tests │ ├── cuda.rs │ └── utils │ └── mod.rs ├── chapter-2 ├── README.md └── host │ ├── Cargo.toml │ ├── build.rs │ ├── src │ ├── filter │ │ ├── bilateral.rs │ │ └── mod.rs │ ├── image.rs │ ├── lib.rs │ └── static_cuda.rs │ └── tests │ ├── cuda.rs │ └── utils │ └── mod.rs ├── fixtures ├── input-1024.png ├── input-2048.png ├── input-4096.png ├── input-512.png ├── ref-output-1024.png └── ref-output-512.png └── plots ├── chapter-0-performance.png └── chapter-1-performance.png /.gitignore: -------------------------------------------------------------------------------- 1 | **/target 2 | **/.criterion -------------------------------------------------------------------------------- /Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denzp/rust-inline-cuda-tutorial/HEAD/Cargo.lock -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denzp/rust-inline-cuda-tutorial/HEAD/Cargo.toml -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denzp/rust-inline-cuda-tutorial/HEAD/README.md -------------------------------------------------------------------------------- /chapter-0/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denzp/rust-inline-cuda-tutorial/HEAD/chapter-0/README.md -------------------------------------------------------------------------------- /chapter-0/host/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denzp/rust-inline-cuda-tutorial/HEAD/chapter-0/host/Cargo.toml -------------------------------------------------------------------------------- /chapter-0/host/benches/chapter-0-benchmark.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denzp/rust-inline-cuda-tutorial/HEAD/chapter-0/host/benches/chapter-0-benchmark.rs -------------------------------------------------------------------------------- /chapter-0/host/src/filter/bilateral_parallel.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denzp/rust-inline-cuda-tutorial/HEAD/chapter-0/host/src/filter/bilateral_parallel.rs -------------------------------------------------------------------------------- /chapter-0/host/src/filter/bilateral_sequential.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denzp/rust-inline-cuda-tutorial/HEAD/chapter-0/host/src/filter/bilateral_sequential.rs -------------------------------------------------------------------------------- /chapter-0/host/src/filter/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denzp/rust-inline-cuda-tutorial/HEAD/chapter-0/host/src/filter/mod.rs -------------------------------------------------------------------------------- /chapter-0/host/src/image.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denzp/rust-inline-cuda-tutorial/HEAD/chapter-0/host/src/image.rs -------------------------------------------------------------------------------- /chapter-0/host/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denzp/rust-inline-cuda-tutorial/HEAD/chapter-0/host/src/lib.rs -------------------------------------------------------------------------------- /chapter-0/host/tests/parallel.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denzp/rust-inline-cuda-tutorial/HEAD/chapter-0/host/tests/parallel.rs -------------------------------------------------------------------------------- /chapter-0/host/tests/sequential.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denzp/rust-inline-cuda-tutorial/HEAD/chapter-0/host/tests/sequential.rs -------------------------------------------------------------------------------- /chapter-0/host/tests/utils/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denzp/rust-inline-cuda-tutorial/HEAD/chapter-0/host/tests/utils/mod.rs -------------------------------------------------------------------------------- /chapter-1/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denzp/rust-inline-cuda-tutorial/HEAD/chapter-1/README.md -------------------------------------------------------------------------------- /chapter-1/device/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denzp/rust-inline-cuda-tutorial/HEAD/chapter-1/device/Cargo.toml -------------------------------------------------------------------------------- /chapter-1/device/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denzp/rust-inline-cuda-tutorial/HEAD/chapter-1/device/src/lib.rs -------------------------------------------------------------------------------- /chapter-1/host/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denzp/rust-inline-cuda-tutorial/HEAD/chapter-1/host/Cargo.toml -------------------------------------------------------------------------------- /chapter-1/host/benches/chapter-1-benchmark.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denzp/rust-inline-cuda-tutorial/HEAD/chapter-1/host/benches/chapter-1-benchmark.rs -------------------------------------------------------------------------------- /chapter-1/host/build.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denzp/rust-inline-cuda-tutorial/HEAD/chapter-1/host/build.rs -------------------------------------------------------------------------------- /chapter-1/host/src/filter/bilateral_cuda.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denzp/rust-inline-cuda-tutorial/HEAD/chapter-1/host/src/filter/bilateral_cuda.rs -------------------------------------------------------------------------------- /chapter-1/host/src/filter/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denzp/rust-inline-cuda-tutorial/HEAD/chapter-1/host/src/filter/mod.rs -------------------------------------------------------------------------------- /chapter-1/host/src/image.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denzp/rust-inline-cuda-tutorial/HEAD/chapter-1/host/src/image.rs -------------------------------------------------------------------------------- /chapter-1/host/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denzp/rust-inline-cuda-tutorial/HEAD/chapter-1/host/src/lib.rs -------------------------------------------------------------------------------- /chapter-1/host/src/static_cuda.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denzp/rust-inline-cuda-tutorial/HEAD/chapter-1/host/src/static_cuda.rs -------------------------------------------------------------------------------- /chapter-1/host/tests/cuda.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denzp/rust-inline-cuda-tutorial/HEAD/chapter-1/host/tests/cuda.rs -------------------------------------------------------------------------------- /chapter-1/host/tests/utils/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denzp/rust-inline-cuda-tutorial/HEAD/chapter-1/host/tests/utils/mod.rs -------------------------------------------------------------------------------- /chapter-2/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denzp/rust-inline-cuda-tutorial/HEAD/chapter-2/README.md -------------------------------------------------------------------------------- /chapter-2/host/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denzp/rust-inline-cuda-tutorial/HEAD/chapter-2/host/Cargo.toml -------------------------------------------------------------------------------- /chapter-2/host/build.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denzp/rust-inline-cuda-tutorial/HEAD/chapter-2/host/build.rs -------------------------------------------------------------------------------- /chapter-2/host/src/filter/bilateral.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denzp/rust-inline-cuda-tutorial/HEAD/chapter-2/host/src/filter/bilateral.rs -------------------------------------------------------------------------------- /chapter-2/host/src/filter/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denzp/rust-inline-cuda-tutorial/HEAD/chapter-2/host/src/filter/mod.rs -------------------------------------------------------------------------------- /chapter-2/host/src/image.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denzp/rust-inline-cuda-tutorial/HEAD/chapter-2/host/src/image.rs -------------------------------------------------------------------------------- /chapter-2/host/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denzp/rust-inline-cuda-tutorial/HEAD/chapter-2/host/src/lib.rs -------------------------------------------------------------------------------- /chapter-2/host/src/static_cuda.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denzp/rust-inline-cuda-tutorial/HEAD/chapter-2/host/src/static_cuda.rs -------------------------------------------------------------------------------- /chapter-2/host/tests/cuda.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denzp/rust-inline-cuda-tutorial/HEAD/chapter-2/host/tests/cuda.rs -------------------------------------------------------------------------------- /chapter-2/host/tests/utils/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denzp/rust-inline-cuda-tutorial/HEAD/chapter-2/host/tests/utils/mod.rs -------------------------------------------------------------------------------- /fixtures/input-1024.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denzp/rust-inline-cuda-tutorial/HEAD/fixtures/input-1024.png -------------------------------------------------------------------------------- /fixtures/input-2048.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denzp/rust-inline-cuda-tutorial/HEAD/fixtures/input-2048.png -------------------------------------------------------------------------------- /fixtures/input-4096.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denzp/rust-inline-cuda-tutorial/HEAD/fixtures/input-4096.png -------------------------------------------------------------------------------- /fixtures/input-512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denzp/rust-inline-cuda-tutorial/HEAD/fixtures/input-512.png -------------------------------------------------------------------------------- /fixtures/ref-output-1024.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denzp/rust-inline-cuda-tutorial/HEAD/fixtures/ref-output-1024.png -------------------------------------------------------------------------------- /fixtures/ref-output-512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denzp/rust-inline-cuda-tutorial/HEAD/fixtures/ref-output-512.png -------------------------------------------------------------------------------- /plots/chapter-0-performance.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denzp/rust-inline-cuda-tutorial/HEAD/plots/chapter-0-performance.png -------------------------------------------------------------------------------- /plots/chapter-1-performance.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denzp/rust-inline-cuda-tutorial/HEAD/plots/chapter-1-performance.png --------------------------------------------------------------------------------