├── .clog.toml ├── .github └── CONTRIBUTING.md ├── .gitignore ├── CHANGELOG.md ├── Cargo.toml ├── LICENSE-APACHE ├── LICENSE-MIT ├── README.md ├── benches └── shared_tensor.rs ├── examples └── readme.rs ├── index.html ├── perf ├── README.md └── run_perf.sh ├── rustfmt.toml ├── src ├── backend.rs ├── binary.rs ├── device.rs ├── error.rs ├── framework.rs ├── frameworks │ ├── cuda │ │ ├── api │ │ │ ├── driver │ │ │ │ ├── context.rs │ │ │ │ ├── device.rs │ │ │ │ ├── error.rs │ │ │ │ ├── ffi.rs │ │ │ │ ├── memory.rs │ │ │ │ ├── mod.rs │ │ │ │ └── utils.rs │ │ │ └── mod.rs │ │ ├── context.rs │ │ ├── device.rs │ │ ├── function.rs │ │ ├── memory.rs │ │ ├── mod.rs │ │ └── module.rs │ ├── mod.rs │ ├── native │ │ ├── binary.rs │ │ ├── device.rs │ │ ├── error.rs │ │ ├── flatbox.rs │ │ ├── function.rs │ │ ├── hardware.rs │ │ ├── mod.rs │ │ ├── stable_alloc.rs │ │ └── unstable_alloc.rs │ └── opencl │ │ ├── api │ │ ├── context.rs │ │ ├── device.rs │ │ ├── error.rs │ │ ├── ffi.rs │ │ ├── memory.rs │ │ ├── mod.rs │ │ ├── platform.rs │ │ ├── queue.rs │ │ └── types.rs │ │ ├── context.rs │ │ ├── device.rs │ │ ├── event.rs │ │ ├── kernel.rs │ │ ├── memory.rs │ │ ├── mod.rs │ │ ├── platform.rs │ │ ├── program.rs │ │ └── queue.rs ├── hardware.rs ├── lib.rs ├── operation.rs ├── plugin.rs └── tensor.rs └── tests ├── backend_specs.rs ├── compile-fail ├── drop_live_memory.rs ├── leak_read_reference.rs ├── leak_write_reference.rs ├── read_write_borrows.rs └── two_write_borrows.rs ├── compiletests.rs ├── framework_cuda_specs.rs ├── framework_native_specs.rs ├── framework_opencl_specs.rs ├── hardware_specs.rs ├── run-pass └── multiple_read_only_borrows.rs ├── shared_memory_specs.rs └── tensor_specs.rs /.clog.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fff-rs/coaster/HEAD/.clog.toml -------------------------------------------------------------------------------- /.github/CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fff-rs/coaster/HEAD/.github/CONTRIBUTING.md -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | /target 2 | Cargo.lock 3 | -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fff-rs/coaster/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fff-rs/coaster/HEAD/Cargo.toml -------------------------------------------------------------------------------- /LICENSE-APACHE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fff-rs/coaster/HEAD/LICENSE-APACHE -------------------------------------------------------------------------------- /LICENSE-MIT: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fff-rs/coaster/HEAD/LICENSE-MIT -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fff-rs/coaster/HEAD/README.md -------------------------------------------------------------------------------- /benches/shared_tensor.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fff-rs/coaster/HEAD/benches/shared_tensor.rs -------------------------------------------------------------------------------- /examples/readme.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fff-rs/coaster/HEAD/examples/readme.rs -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /perf/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fff-rs/coaster/HEAD/perf/README.md -------------------------------------------------------------------------------- /perf/run_perf.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fff-rs/coaster/HEAD/perf/run_perf.sh -------------------------------------------------------------------------------- /rustfmt.toml: -------------------------------------------------------------------------------- 1 | format_strings = false 2 | reorder_imports = true 3 | -------------------------------------------------------------------------------- /src/backend.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fff-rs/coaster/HEAD/src/backend.rs -------------------------------------------------------------------------------- /src/binary.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fff-rs/coaster/HEAD/src/binary.rs -------------------------------------------------------------------------------- /src/device.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fff-rs/coaster/HEAD/src/device.rs -------------------------------------------------------------------------------- /src/error.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fff-rs/coaster/HEAD/src/error.rs -------------------------------------------------------------------------------- /src/framework.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fff-rs/coaster/HEAD/src/framework.rs -------------------------------------------------------------------------------- /src/frameworks/cuda/api/driver/context.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fff-rs/coaster/HEAD/src/frameworks/cuda/api/driver/context.rs -------------------------------------------------------------------------------- /src/frameworks/cuda/api/driver/device.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fff-rs/coaster/HEAD/src/frameworks/cuda/api/driver/device.rs -------------------------------------------------------------------------------- /src/frameworks/cuda/api/driver/error.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fff-rs/coaster/HEAD/src/frameworks/cuda/api/driver/error.rs -------------------------------------------------------------------------------- /src/frameworks/cuda/api/driver/ffi.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fff-rs/coaster/HEAD/src/frameworks/cuda/api/driver/ffi.rs -------------------------------------------------------------------------------- /src/frameworks/cuda/api/driver/memory.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fff-rs/coaster/HEAD/src/frameworks/cuda/api/driver/memory.rs -------------------------------------------------------------------------------- /src/frameworks/cuda/api/driver/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fff-rs/coaster/HEAD/src/frameworks/cuda/api/driver/mod.rs -------------------------------------------------------------------------------- /src/frameworks/cuda/api/driver/utils.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fff-rs/coaster/HEAD/src/frameworks/cuda/api/driver/utils.rs -------------------------------------------------------------------------------- /src/frameworks/cuda/api/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fff-rs/coaster/HEAD/src/frameworks/cuda/api/mod.rs -------------------------------------------------------------------------------- /src/frameworks/cuda/context.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fff-rs/coaster/HEAD/src/frameworks/cuda/context.rs -------------------------------------------------------------------------------- /src/frameworks/cuda/device.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fff-rs/coaster/HEAD/src/frameworks/cuda/device.rs -------------------------------------------------------------------------------- /src/frameworks/cuda/function.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fff-rs/coaster/HEAD/src/frameworks/cuda/function.rs -------------------------------------------------------------------------------- /src/frameworks/cuda/memory.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fff-rs/coaster/HEAD/src/frameworks/cuda/memory.rs -------------------------------------------------------------------------------- /src/frameworks/cuda/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fff-rs/coaster/HEAD/src/frameworks/cuda/mod.rs -------------------------------------------------------------------------------- /src/frameworks/cuda/module.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fff-rs/coaster/HEAD/src/frameworks/cuda/module.rs -------------------------------------------------------------------------------- /src/frameworks/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fff-rs/coaster/HEAD/src/frameworks/mod.rs -------------------------------------------------------------------------------- /src/frameworks/native/binary.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fff-rs/coaster/HEAD/src/frameworks/native/binary.rs -------------------------------------------------------------------------------- /src/frameworks/native/device.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fff-rs/coaster/HEAD/src/frameworks/native/device.rs -------------------------------------------------------------------------------- /src/frameworks/native/error.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fff-rs/coaster/HEAD/src/frameworks/native/error.rs -------------------------------------------------------------------------------- /src/frameworks/native/flatbox.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fff-rs/coaster/HEAD/src/frameworks/native/flatbox.rs -------------------------------------------------------------------------------- /src/frameworks/native/function.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fff-rs/coaster/HEAD/src/frameworks/native/function.rs -------------------------------------------------------------------------------- /src/frameworks/native/hardware.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fff-rs/coaster/HEAD/src/frameworks/native/hardware.rs -------------------------------------------------------------------------------- /src/frameworks/native/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fff-rs/coaster/HEAD/src/frameworks/native/mod.rs -------------------------------------------------------------------------------- /src/frameworks/native/stable_alloc.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fff-rs/coaster/HEAD/src/frameworks/native/stable_alloc.rs -------------------------------------------------------------------------------- /src/frameworks/native/unstable_alloc.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fff-rs/coaster/HEAD/src/frameworks/native/unstable_alloc.rs -------------------------------------------------------------------------------- /src/frameworks/opencl/api/context.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fff-rs/coaster/HEAD/src/frameworks/opencl/api/context.rs -------------------------------------------------------------------------------- /src/frameworks/opencl/api/device.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fff-rs/coaster/HEAD/src/frameworks/opencl/api/device.rs -------------------------------------------------------------------------------- /src/frameworks/opencl/api/error.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fff-rs/coaster/HEAD/src/frameworks/opencl/api/error.rs -------------------------------------------------------------------------------- /src/frameworks/opencl/api/ffi.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fff-rs/coaster/HEAD/src/frameworks/opencl/api/ffi.rs -------------------------------------------------------------------------------- /src/frameworks/opencl/api/memory.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fff-rs/coaster/HEAD/src/frameworks/opencl/api/memory.rs -------------------------------------------------------------------------------- /src/frameworks/opencl/api/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fff-rs/coaster/HEAD/src/frameworks/opencl/api/mod.rs -------------------------------------------------------------------------------- /src/frameworks/opencl/api/platform.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fff-rs/coaster/HEAD/src/frameworks/opencl/api/platform.rs -------------------------------------------------------------------------------- /src/frameworks/opencl/api/queue.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fff-rs/coaster/HEAD/src/frameworks/opencl/api/queue.rs -------------------------------------------------------------------------------- /src/frameworks/opencl/api/types.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fff-rs/coaster/HEAD/src/frameworks/opencl/api/types.rs -------------------------------------------------------------------------------- /src/frameworks/opencl/context.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fff-rs/coaster/HEAD/src/frameworks/opencl/context.rs -------------------------------------------------------------------------------- /src/frameworks/opencl/device.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fff-rs/coaster/HEAD/src/frameworks/opencl/device.rs -------------------------------------------------------------------------------- /src/frameworks/opencl/event.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fff-rs/coaster/HEAD/src/frameworks/opencl/event.rs -------------------------------------------------------------------------------- /src/frameworks/opencl/kernel.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fff-rs/coaster/HEAD/src/frameworks/opencl/kernel.rs -------------------------------------------------------------------------------- /src/frameworks/opencl/memory.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fff-rs/coaster/HEAD/src/frameworks/opencl/memory.rs -------------------------------------------------------------------------------- /src/frameworks/opencl/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fff-rs/coaster/HEAD/src/frameworks/opencl/mod.rs -------------------------------------------------------------------------------- /src/frameworks/opencl/platform.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fff-rs/coaster/HEAD/src/frameworks/opencl/platform.rs -------------------------------------------------------------------------------- /src/frameworks/opencl/program.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fff-rs/coaster/HEAD/src/frameworks/opencl/program.rs -------------------------------------------------------------------------------- /src/frameworks/opencl/queue.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fff-rs/coaster/HEAD/src/frameworks/opencl/queue.rs -------------------------------------------------------------------------------- /src/hardware.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fff-rs/coaster/HEAD/src/hardware.rs -------------------------------------------------------------------------------- /src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fff-rs/coaster/HEAD/src/lib.rs -------------------------------------------------------------------------------- /src/operation.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fff-rs/coaster/HEAD/src/operation.rs -------------------------------------------------------------------------------- /src/plugin.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fff-rs/coaster/HEAD/src/plugin.rs -------------------------------------------------------------------------------- /src/tensor.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fff-rs/coaster/HEAD/src/tensor.rs -------------------------------------------------------------------------------- /tests/backend_specs.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fff-rs/coaster/HEAD/tests/backend_specs.rs -------------------------------------------------------------------------------- /tests/compile-fail/drop_live_memory.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fff-rs/coaster/HEAD/tests/compile-fail/drop_live_memory.rs -------------------------------------------------------------------------------- /tests/compile-fail/leak_read_reference.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fff-rs/coaster/HEAD/tests/compile-fail/leak_read_reference.rs -------------------------------------------------------------------------------- /tests/compile-fail/leak_write_reference.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fff-rs/coaster/HEAD/tests/compile-fail/leak_write_reference.rs -------------------------------------------------------------------------------- /tests/compile-fail/read_write_borrows.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fff-rs/coaster/HEAD/tests/compile-fail/read_write_borrows.rs -------------------------------------------------------------------------------- /tests/compile-fail/two_write_borrows.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fff-rs/coaster/HEAD/tests/compile-fail/two_write_borrows.rs -------------------------------------------------------------------------------- /tests/compiletests.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fff-rs/coaster/HEAD/tests/compiletests.rs -------------------------------------------------------------------------------- /tests/framework_cuda_specs.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fff-rs/coaster/HEAD/tests/framework_cuda_specs.rs -------------------------------------------------------------------------------- /tests/framework_native_specs.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fff-rs/coaster/HEAD/tests/framework_native_specs.rs -------------------------------------------------------------------------------- /tests/framework_opencl_specs.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fff-rs/coaster/HEAD/tests/framework_opencl_specs.rs -------------------------------------------------------------------------------- /tests/hardware_specs.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fff-rs/coaster/HEAD/tests/hardware_specs.rs -------------------------------------------------------------------------------- /tests/run-pass/multiple_read_only_borrows.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fff-rs/coaster/HEAD/tests/run-pass/multiple_read_only_borrows.rs -------------------------------------------------------------------------------- /tests/shared_memory_specs.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fff-rs/coaster/HEAD/tests/shared_memory_specs.rs -------------------------------------------------------------------------------- /tests/tensor_specs.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fff-rs/coaster/HEAD/tests/tensor_specs.rs --------------------------------------------------------------------------------