43 throw std::invalid_argument(
"Invalid nucleotide");
T * alloc_to_device(size_t size)
Allocates memory on the CUDA device.
bool is_valid_nucleotide(char nucleotide)
Checks if a character represents a valid nucleotide.
std::ostream & operator<<(std::ostream &os, const Nucleotide &nucleotide)
Inserts a textual representation of a nucleotide into an output stream.
Defines nucleotide representation and related utility functions.
Nucleotide
Enumerates the four nucleotides of DNA.
@ INVALID
Invalid nucleotide.
static constexpr std::array< Nucleotide, 256 > char_to_nucleotide
Lookup table for converting characters to nucleotides.