26 #ifndef LIBRARIES_RECONSTRUCTION_AMERIT_COMPUTER_H_ 27 #define LIBRARIES_RECONSTRUCTION_AMERIT_COMPUTER_H_ 63 && (1 != refDims.
n())) {
74 m_isRefLoaded(false){};
80 bool skipAllocation = reuse && m_isInit && canBeReused(s);
82 this->initialize( ! skipAllocation);
91 virtual void loadReference(
const T *ref) = 0;
93 virtual void compute(T *others) = 0;
100 virtual void check() = 0;
102 virtual void initialize(
bool allocate) = 0;
109 return m_isRefLoaded;
113 m_isRefLoaded = status;
122 std::vector<float> m_figures;
void init(const MeritSettings &s, bool reuse)
#define REPORT_ERROR(nerr, ErrormMsg)
void setIsRefLoaded(bool status)
std::vector< float > & getFiguresOfMerit()
constexpr bool equalExceptNPadded(const Dimensions &b) const
const std::vector< float > & getFiguresOfMerit() const
constexpr bool isInitialized() const
CUDA_HD constexpr size_t n() const
constexpr bool isValid() const
const MeritSettings & getSettings() const
constexpr bool isRefLoaded() const
Incorrect value received.
check(nparam, nf, nfsr, &Linfty, nineq, nineqn, neq, neqn, ncsrl, ncsrn, mode, &modem, eps, bgbnd, param)
Some logical error in the pipeline.