Class DeviceMetaData

Class Documentation

class icrar::cuda::DeviceMetaData

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

Public Functions

DeviceMetaData(DeviceMetaData &&other) noexcept = default
DeviceMetaData &operator=(DeviceMetaData &&other) noexcept = default
DeviceMetaData(const icrar::cpu::MetaData &metadata)

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

Parameters
  • metadata:

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

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

Parameters
  • constantBuffer:

  • SolutionIntervalBuffer:

  • directionBuffer:

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