QTrk
|
Contains all QI memory space that is allocated per stream. More...
#include <QI.h>
Public Member Functions | |
~StreamInstance () | |
Delete the stream instance. More... | |
int | memsize () |
Return the total size of memory in bytes used for QI by each stream. More... | |
Public Attributes | |
device_vec< float > | d_shiftbuffer |
Calculation buffer. Size is batchSize * qi_FFT_length. More... | |
device_vec< float2 > | d_QIprofiles |
Memory to hold the concatenated X and Y profiles generated from the quadrant profiles. In-place forward and backward FFT is performed in this memory. Size is batchSize * (2 axes) * (2 * QIParams::radialSteps). More... | |
device_vec< float2 > | d_QIprofiles_reverse |
Memory to hold the reversed X and Y profiles. In-place forward FFT is performed in this memory. Size is batchSize * (2 axes) * (2 * QIParams::radialSteps). More... | |
device_vec< float > | d_quadrants |
Memory to hold the quadrant profiles. Size is batchSize * (4 quadrants) * QIParams::radialSteps. More... | |
device_vec< float > | d_DebugOutput |
Extra device vector specifically for arbitrary debug output GPU_DEBUG is defined at the top of gpu_utils.h. More... | |
cufftHandle | fftPlan |
Handle to make calls to CUFFT. A single CUFFT plan can be used for both forward and inverse transforms. More... | |
cudaStream_t | stream |
Reference to the parent stream, managed by QueuedCUDATracker::Stream. More... | |
|
inline |
Delete the stream instance.
Definition at line 46 of file QI.h.
|
inline |
Return the total size of memory in bytes used for QI by each stream.
Definition at line 54 of file QI.h.
device_vec<float> QI::StreamInstance::d_DebugOutput |
Extra device vector specifically for arbitrary debug output GPU_DEBUG is defined at the top of gpu_utils.h.
USAGE: Fill with any kind of data in a function Output in any host code to a csv file using DbgOutputVectorToFile.
device_vec<float2> QI::StreamInstance::d_QIprofiles |
Memory to hold the concatenated X and Y profiles generated from the quadrant profiles. In-place forward and backward FFT is performed in this memory. Size is batchSize * (2 axes) * (2 * QIParams::radialSteps).
device_vec<float2> QI::StreamInstance::d_QIprofiles_reverse |
Memory to hold the reversed X and Y profiles. In-place forward FFT is performed in this memory. Size is batchSize * (2 axes) * (2 * QIParams::radialSteps).
device_vec<float> QI::StreamInstance::d_quadrants |
Memory to hold the quadrant profiles. Size is batchSize * (4 quadrants) * QIParams::radialSteps.
device_vec<float> QI::StreamInstance::d_shiftbuffer |
Calculation buffer. Size is batchSize * qi_FFT_length.
cufftHandle QI::StreamInstance::fftPlan |
cudaStream_t QI::StreamInstance::stream |
Reference to the parent stream, managed by QueuedCUDATracker::Stream.