pub unsafe extern "C" fn cuvsCagraSerializeGraphAndDataset(
res: cuvsResources_t,
filename: *const c_char,
index: cuvsCagraIndex_t,
) -> cuvsError_tExpand description
Save the CAGRA graph and its attached dataset to file.
The index stores a non-owning dataset view. The caller must keep the dataset backing that view alive while this function runs. Returns CUVS_ERROR without modifying the destination file if the index has no attached dataset.
Experimental, both the API and the serialization format are subject to change.
@param[in] res cuvsResources_t opaque C handle @param[in] filename the file name for saving the graph and dataset @param[in] index CAGRA index with an attached host or device dataset