Xmipp
v3.23.11-Nereus
|
#include <cuda_gpu_reconstruct_fourier.h>
Public Member Functions | |
FRecBufferDataGPUWrapper (RecFourierBufferData *orig) | |
~FRecBufferDataGPUWrapper () | |
void | copyFrom (RecFourierBufferData *orig, int stream) |
void | copyToDevice (int stream) |
Public Attributes | |
RecFourierBufferDataGPU * | cpuCopy |
RecFourierBufferDataGPU * | gpuCopy |
This struct simplifies work with pointers on GPU It holds a copy both in CPU and GPU memory space
Definition at line 46 of file cuda_gpu_reconstruct_fourier.h.
FRecBufferDataGPUWrapper::FRecBufferDataGPUWrapper | ( | RecFourierBufferData * | orig | ) |
Definition at line 319 of file cuda_gpu_reconstruct_fourier.cpp.
FRecBufferDataGPUWrapper::~FRecBufferDataGPUWrapper | ( | ) |
Definition at line 327 of file cuda_gpu_reconstruct_fourier.cpp.
void FRecBufferDataGPUWrapper::copyFrom | ( | RecFourierBufferData * | orig, |
int | stream | ||
) |
Copy the content of the 'orig' buffer to new object Original buffer can be cleaned after. Works asynchronously on given stream
Definition at line 334 of file cuda_gpu_reconstruct_fourier.cpp.
void FRecBufferDataGPUWrapper::copyToDevice | ( | int | stream | ) |
Copy CPU version to GPU, asynchronously on given stream
Definition at line 338 of file cuda_gpu_reconstruct_fourier.cpp.
RecFourierBufferDataGPU* FRecBufferDataGPUWrapper::cpuCopy |
Definition at line 63 of file cuda_gpu_reconstruct_fourier.h.
RecFourierBufferDataGPU* FRecBufferDataGPUWrapper::gpuCopy |
Definition at line 66 of file cuda_gpu_reconstruct_fourier.h.