Class DeviceLeapData

Class Documentation

class DeviceLeapData

Represents the complete collection of LeapData that resides on the GPU for leap-calibration

Public Functions

DeviceLeapData(DeviceLeapData &&other) noexcept = default
DeviceLeapData &operator=(DeviceLeapData &&other) noexcept = default
explicit DeviceLeapData(const icrar::cpu::LeapData &leapData)

Construct a new Device LeapData object from the equivalent object on CPU memory. This copies to all device buffers.

Parameters:

leapData

DeviceLeapData(std::shared_ptr<ConstantBuffer> constantBuffer, std::shared_ptr<DirectionBuffer> directionBuffer)

Construct a new Device LeapData object from the equivalent object on CPU memory. This copies to all device buffers.

Parameters:
  • constantBuffer

  • directionBuffer

const icrar::cpu::Constants &GetConstants() const
inline const SphericalDirection &GetDirection() const
inline const Eigen::Matrix3d &GetDD() const
inline const ConstantBuffer &GetConstantBuffer() const
inline const device_matrix<std::complex<double>> &GetAvgData() const
inline device_matrix<std::complex<double>> &GetAvgData()
void SetAvgData(int v)
void ToHost(icrar::cpu::LeapData &host) const
icrar::cpu::LeapData ToHost() const
void ToHostAsync(icrar::cpu::LeapData &host) const