The repository contains several practical examples demonstrating different usage patterns for cuCollections. These include:
- Host-bulk APIs: Demonstrates how to use bulk APIs from the host side.
- Device-ref APIs: Shows how to perform individual operations using device-reference APIs.
- One single storage for multiple sets: Demonstrates how to manage multiple sets within a single storage allocation.
- Using shared memory as storage: Shows how to utilize shared memory as a storage backend.
You can view the source code for these examples in the examples/ directory or interact with live, compilable versions via the provided Godbolt links.
<!-- Examples are available in the repository under the examples/ directory -->
- Host-bulk APIs: examples/static_set/host_bulk_example.cu
- Device-ref APIs: examples/static_set/device_ref_example.cu
- One single storage for multiple sets: examples/static_set/device_subsets_example.cu
- Using shared memory as storage: examples/static_set/shared_memory_example.cu