Fermat
Public Methods | Public Members | List of all members
cugar::cuda::SortBuffers< Keys, Values > Struct Template Reference

Detailed description

template<typename Keys, typename Values = null_type>
struct cugar::cuda::SortBuffers< Keys, Values >

A sorting buffer to hold vectors of key-value pairs

#include <sort.h>

Public Methods

 SortBuffers ()
 
Keys current_keys () const
 
Values current_values () const
 

Public Members

uint32 selector
 
Keys keys [2]
 
Values values [2]
 

Constructor & Destructor Documentation

◆ SortBuffers()

template<typename Keys, typename Values = null_type>
cugar::cuda::SortBuffers< Keys, Values >::SortBuffers ( )
inline

constructor

Member Function Documentation

◆ current_keys()

template<typename Keys, typename Values = null_type>
Keys cugar::cuda::SortBuffers< Keys, Values >::current_keys ( ) const
inline

return the currently selected keys

◆ current_values()

template<typename Keys, typename Values = null_type>
Values cugar::cuda::SortBuffers< Keys, Values >::current_values ( ) const
inline

return the currently selected values


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