|
cuDDL
|
Index-file persistence and the validation boundary for reference_index. More...
Static Public Member Functions | |
| template<uint32_t K, size_t BucketCount, typename Layout > | |
| static Result< void > | save (reference_index< K, BucketCount, Layout > const &index, reference_database< K, BucketCount, Layout > const &source, std::filesystem::path const &path, cuda::stream_ref stream) |
| Atomically save an already built or loaded index. | |
| template<uint32_t K, size_t BucketCount, typename Layout = default_register_layout> | |
| static Result< reference_index< K, BucketCount, Layout > > | load (std::filesystem::path const &path, reference_database< K, BucketCount, Layout > const &database, cuda::stream_ref stream) |
| Validate the file and its database binding once, then restore a ready-to-search index. | |
Index-file persistence and the validation boundary for reference_index.
Definition at line 74 of file reference_index_file.cuh.
|
inlinestatic |
Validate the file and its database binding once, then restore a ready-to-search index.
Definition at line 144 of file reference_index_file.cuh.
|
inlinestatic |
Atomically save an already built or loaded index.
Definition at line 78 of file reference_index_file.cuh.