aboutsummaryrefslogtreecommitdiff
path: root/tests/CL/Helper.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/CL/Helper.h')
-rw-r--r--tests/CL/Helper.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/CL/Helper.h b/tests/CL/Helper.h
index 30fbe568f4..32f9ca00e3 100644
--- a/tests/CL/Helper.h
+++ b/tests/CL/Helper.h
@@ -47,6 +47,15 @@ public:
k->configure(std::forward<Args>(args)...);
_kernel = std::move(k);
}
+ /** Validate input arguments
+ *
+ * @param[in] args Configuration arguments.
+ */
+ template <typename... Args>
+ static Status validate(Args &&... args)
+ {
+ return K::validate(std::forward<Args>(args)...);
+ }
};
/** As above but this also setups a Zero border on the input tensor of the specified bordersize */