a ray queue is a regular queue where the header of the payload is augmented with a Ray and a Hit data structure
#include <wavefront_queues.h>
|
FERMAT_HOST_DEVICE void | alloc (uint8 *_ptr, uint32 *_size) |
|
FERMAT_HOST_DEVICE Ray * | rays () const |
|
FERMAT_HOST_DEVICE Hit * | hits () const |
|
FERMAT_HOST_DEVICE | WavefrontQueue () |
|
FERMAT_HOST_DEVICE void | setup (const QueueDescriptor &_desc, const uint32 _capacity) |
|
FERMAT_HOST_DEVICE uint32 | byte_size () const |
|
FERMAT_HOST_DEVICE void | alloc (uint8 *_ptr, uint32 *_size) |
|
template<uint32 m, typename T > |
FERMAT_HOST_DEVICE T * | member_base () const |
|
template<uint32 m, typename T > |
FERMAT_HOST_DEVICE const T & | member (const uint32 slot) const |
|
template<uint32 m, typename T > |
FERMAT_HOST_DEVICE T & | member (const uint32 slot) |
|
FERMAT_DEVICE uint32 | append () |
|
FERMAT_HOST_DEVICE void | set_size (const uint32 _size) |
|
|
uint8 * | ray_ptr |
|
uint8 * | ptr |
|
uint32 * | size |
|
uint32 | capacity |
|
uint32 | offsets [16] |
|
◆ alloc()
FERMAT_HOST_DEVICE void RayWavefrontQueue::alloc |
( |
uint8 * |
_ptr, |
|
|
uint32 * |
_size |
|
) |
| |
|
inline |
The documentation for this struct was generated from the following file: