struct xilinx_apps::cosinesim::Options

Overview

Struct containing CosineSim configuration options. More…

#include <cosinesim.hpp>

struct Options
{
    // fields

    ColIndex vecLength;
    std::int32_t numDevices;
    XString deviceNames;
    XString xclbinPath;

    // construction

    Options();
    Options(const Options& opt);

    // methods

    Options& operator = (const Options& opt);
};

Detailed Documentation

Struct containing CosineSim configuration options.

Fields

XString xclbinPath

FPGA binary file (XCLBIN) path. Default is the package installation path.

Construction

Options()

Constructs an Options object with default values.

Options(const Options& opt)

Copy constructor, which deep-copies the reference Options object.

Parameters:

opt

the Options object to copy from

Methods

Options& operator = (const Options& opt)

Deep-copies the reference Options object into this Options object.

Parameters:

opt

the Options object to copy from

Returns:

this Options object