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

Start of genome row i of a collector's heaps, rows of k slots. More...

Public Member Functions

__host__ __device__ int64_t operator() (int64_t i) const noexcept
 

Public Attributes

uint32_t k
 

Detailed Description

Start of genome row i of a collector's heaps, rows of k slots.

Definition at line 44 of file top_k.cuh.

Member Function Documentation

◆ operator()()

__host__ __device__ int64_t cuddl::detail::top_k_row_offset::operator() ( int64_t  i) const
inlinenoexcept

Definition at line 47 of file top_k.cuh.

47 {
48 return i * k;
49 }

Member Data Documentation

◆ k

uint32_t cuddl::detail::top_k_row_offset::k

Definition at line 45 of file top_k.cuh.


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