|
cuDDL
|
Move-only acceleration data for an immutable reference database. More...
Public Member Functions | |
| reference_index (reference_index const &)=delete | |
| reference_index & | operator= (reference_index const &)=delete |
| __host__ | ~reference_index () |
| reference_index (reference_index &&other) noexcept | |
| reference_index & | operator= (reference_index &&other) noexcept |
| Move-assigns the index, leaving the source empty. | |
| index_storage | storage () const noexcept |
| Dense index when offsets cover every cell, sparse when only keys are stored. | |
| double | pair_fraction () const noexcept |
| Fraction of all (query, reference, bucket) cells an index lookup visits for queries resembling the references; searches fall back to comparing bit-planes when the index would visit too many. | |
| size_t | persistent_index_bytes () const noexcept |
| Bytes the saved index file needs for offsets, postings, and keys. | |
Static Public Member Functions | |
| static Result< reference_index > | build_async (database_type const &database, cuda::stream_ref stream, index_storage storage=index_storage::automatic) |
| Build acceleration data without taking ownership of or copying reference rows. | |
Friends | |
| class | reference_index_file |
| class | reference_database< K, BucketCount, Layout > |
Move-only acceleration data for an immutable reference database.
Build and load return the same type; pass its address to a database search. The allocation stream must outlive the index.
Definition at line 11 of file reference_index.cuh.
|
delete |
|
inline |
Definition at line 23 of file reference_index.cuh.
|
inlinenoexcept |
Definition at line 25 of file reference_index.cuh.
|
inlinestatic |
Build acceleration data without taking ownership of or copying reference rows.
index_storage::automatic builds whichever storage needs less device memory.
Definition at line 65 of file reference_index.cuh.
|
inlinenoexcept |
Move-assigns the index, leaving the source empty.
Definition at line 40 of file reference_index.cuh.
|
delete |
|
inlinenoexcept |
Fraction of all (query, reference, bucket) cells an index lookup visits for queries resembling the references; searches fall back to comparing bit-planes when the index would visit too many.
Definition at line 82 of file reference_index.cuh.
|
inlinenoexcept |
Bytes the saved index file needs for offsets, postings, and keys.
Definition at line 87 of file reference_index.cuh.
|
inlinenoexcept |
Dense index when offsets cover every cell, sparse when only keys are stored.
Definition at line 59 of file reference_index.cuh.
|
friend |
Definition at line 13 of file reference_index.cuh.
|
friend |
Definition at line 13 of file reference_index.cuh.