cuDDL
Loading...
Searching...
No Matches
Static Public Member Functions | List of all members
cuddl::detail::reference_file_assembly Struct Reference

Builds a reference_database_file from gathered parts; the file's members are private. More...

Static Public Member Functions

static reference_database_file make (reference_database_file const &like, std::vector< std::filesystem::path > const &paths, std::vector< uint16_t > rows)
 

Detailed Description

Builds a reference_database_file from gathered parts; the file's members are private.

Definition at line 129 of file distributed.cuh.

Member Function Documentation

◆ make()

static reference_database_file cuddl::detail::reference_file_assembly::make ( reference_database_file const &  like,
std::vector< std::filesystem::path > const &  paths,
std::vector< uint16_t >  rows 
)
inlinestatic

Definition at line 130 of file distributed.cuh.

134 {
135 reference_database_file file;
136 file.blacklist_ = like.blacklist_;
137 file.metadata_ = like.metadata_;
138 file.metadata_.reference_count = static_cast<uint32_t>(paths.size());
139 file.names_.reserve(paths.size());
140 for (auto const& path : paths) file.names_.push_back(path.string());
141 file.rows_ = std::move(rows);
142 return file;
143 }
__global__ size_t uint16_t * rows
Definition kernels.cuh:1499
Here is the caller graph for this function:

The documentation for this struct was generated from the following file: