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>
|
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) |
|
|
BaseContext | m_context |
|
const Integer * | m_codes |
|
BboxType | m_bbox |
|
◆ 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_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 |
The documentation for this struct was generated from the following file: