Helpers Overview (CUDNN, OneDNN,Armcompute)
Requirements Helper
Requirements& expect(const T& expVar,const T1& reqVar, Op comparision, const char *first_half="") Requirements& expectEq(const T& exp,const T1& req) Requirements& expectNotEq(const T& exp,const T1& req) Requirements& expectLess(const T& exp,const T1& req) Requirements& expectLessEq(const T& exp,const T1& req) Requirements& expectGreater(T exp, T1 req) Requirements& expectGreaterEq(const T& exp,const T1& req Requirements& expectTrue(const T& expVar, const char *msg=) Requirements& expectFalse(const T& expVar, const char *msg=)[](const decltype(expType)& l, const decltype(reqType)& r){ //compare and return return ....; }
Examples:
Here is live example:
Last updated
Was this helpful?