visTransform

class visTransform : public kotekan::Stage

Merge a set of GPU buffers into a single VisBuffer stream.

This task takes data coming out of a collecton of GPU streams and merges and reformats it into a single stream in the new VisBuffer format that is used for the receiver.

Buffers

  • in_bufs The set of buffers coming out the GPU buffers

    • Format: GPU packed upper triangle

    • Metadata: chimeMetadata

  • out_buf The merged and transformed buffer

    • Format: VisBuffer structured

    • Metadata: VisMetadata

Author

Richard Shaw

Param num_elements:

Int. The number of elements (i.e. inputs) in the correlator data.

Param block_size:

Int. The block size of the packed data.

Param num_ev:

Int. The number of eigenvectors to be stored

Param input_reorder:

Array of [int, int, string]. The reordering mapping. Only the first element of each sub-array is used and it is the the index of the input to move into this new location. The remaining elements of the subarray are for correctly labelling the input in VisWriter.

Public Functions

visTransform(kotekan::Config &config, const std::string &unique_name, kotekan::bufferContainer &buffer_container)
virtual void main_thread() override