COMPMID-718 : Winograd: add validate method and tests
Validate methods added to Winograd kernels and function.
Renamed validation test suit
Change-Id: I0a88df436aff0bbaf4fd82213eeda089b87ac5bf
Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/127781
Tested-by: Jenkins <bsgcomp@arm.com>
Reviewed-by: Anthony Barbier <anthony.barbier@arm.com>
Reviewed-by: Georgios Pinitas <georgios.pinitas@arm.com>
diff --git a/arm_compute/core/Error.h b/arm_compute/core/Error.h
index 590da9b..3635e93 100644
--- a/arm_compute/core/Error.h
+++ b/arm_compute/core/Error.h
@@ -175,6 +175,16 @@
*/
#define ARM_COMPUTE_CREATE_ERROR_LOC(error_code, func, file, line, ...) ::arm_compute::create_error(error_code, func, file, line, __VA_ARGS__) // NOLINT
+/** An error is returned with the given description.
+ *
+ * @param[in] ... Error description message.
+ */
+#define ARM_COMPUTE_RETURN_ERROR_MSG(...) \
+ do \
+ { \
+ return ARM_COMPUTE_CREATE_ERROR(arm_compute::ErrorCode::RUNTIME_ERROR, __VA_ARGS__); \
+ } while(false)
+
/** Checks if a status contains an error and returns it
*
* @param[in] status Status value to check