Fermat
Public Methods | Public Members | List of all members
cugar::cuda::kd::Kd_context< DIM, BboxType, Integer, OutputTree >::Context Struct Reference

Detailed description

template<uint32 DIM, typename BboxType, typename Integer, typename OutputTree>
struct cugar::cuda::kd::Kd_context< DIM, BboxType, Integer, OutputTree >::Context

Cuda accessor struct.

#include <kd_builder_inline.h>

Public Methods

CUGAR_HOST_DEVICE Context (const BaseContext context, const Integer *codes, BboxType bbox)
 
CUGAR_HOST_DEVICE void write_node (const uint32 node, const uint32 parent, bool p1, bool p2, const uint32 offset, const uint32 skip_node, const uint32 level, const uint32 begin, const uint32 end, const uint32 split_index)
 
CUGAR_HOST_DEVICE void write_leaf (const uint32 leaf_index, const uint32 node_index, const uint32 begin, const uint32 end)
 

Public Members

BaseContext m_context
 
const Integer * m_codes
 
BboxType m_bbox
 

Member Function Documentation

◆ write_leaf()

template<uint32 DIM, typename BboxType , typename Integer , typename OutputTree >
CUGAR_HOST_DEVICE void cugar::cuda::kd::Kd_context< DIM, BboxType, Integer, OutputTree >::Context::write_leaf ( const uint32  leaf_index,
const uint32  node_index,
const uint32  begin,
const uint32  end 
)
inline

write a new leaf

◆ write_node()

template<uint32 DIM, typename BboxType , typename Integer , typename OutputTree >
CUGAR_HOST_DEVICE void cugar::cuda::kd::Kd_context< DIM, BboxType, Integer, OutputTree >::Context::write_node ( const uint32  node,
const uint32  parent,
bool  p1,
bool  p2,
const uint32  offset,
const uint32  skip_node,
const uint32  level,
const uint32  begin,
const uint32  end,
const uint32  split_index 
)
inline

write a new node


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