Module big_compute_buffers

Source
Expand description

This example shows you a potential course for when your ‘data’ is too large for a single Buffer.

A lot of things aren’t explained here via comments. See hello-compute and repeated-compute for code that is more thoroughly commented.

Constants§

MAX_BUFFER_SIZE 🔒
MAX_DISPATCH_SIZE 🔒

Functions§

calculate_chunks 🔒
create_staging_buffers 🔒
create_storage_buffers 🔒
execute_gpu
execute_gpu_inner
main
run 🔒
setup 🔒
setup_binds 🔒
setup_pipeline 🔒