env.Append(CXXFLAGS = ['-fPIC'])
env.Append(CPPDEFINES = ['NO_MULTI_THREADING'])
env.Append(CPPDEFINES = ['BARE_METAL'])
+if env['os'] == 'linux' and env['arch'] == 'armv7a':
+ env.Append(CXXFLAGS = [ '-Wno-psabi' ])
if env['opencl']:
if env['os'] in ['bare_metal'] or env['standalone']:
/*
- * Copyright (c) 2017-2019 Arm Limited.
+ * Copyright (c) 2017-2020 Arm Limited.
*
* SPDX-License-Identifier: MIT
*
GCAccessor &operator=(const GCAccessor &) = delete;
/** Allow instances of this class to be move constructed */
GCAccessor(GCAccessor &&) = default;
- /** Allow instances of this class to be moved */
- GCAccessor &operator=(GCAccessor &&) = default;
+ /** Prevent instances of this class to be moved */
+ GCAccessor &operator=(GCAccessor &&) = delete;
/** Destructor that unmaps the GLES memory. */
~GCAccessor();
h0_values),
i_values_rhs),
t_values_rhs),
- framework::dataset::make("export_to_cl_image_rhs", false, true)),
+ framework::dataset::make("export_to_cl_image_rhs", {false, true})),
framework::dataset::make("DataType", DataType::F32)),
a_values),
beta_values),
h0_values),
i_values_rhs),
t_values_rhs),
- framework::dataset::make("export_to_cl_image_rhs", false, true)),
+ framework::dataset::make("export_to_cl_image_rhs", {false, true})),
framework::dataset::make("DataType", DataType::F32)),
a_values),
beta_values),
h0_values),
i_values_rhs),
t_values_rhs),
- framework::dataset::make("export_to_cl_image_rhs", false, true)),
+ framework::dataset::make("export_to_cl_image_rhs", {false, true})),
framework::dataset::make("has_pad_y", {false, true})),
framework::dataset::make("DataType", DataType::F32)),
a_values),
h0_values),
i_values_rhs),
t_values_rhs),
- framework::dataset::make("export_to_cl_image_rhs", false, true)),
+ framework::dataset::make("export_to_cl_image_rhs", {false, true})),
framework::dataset::make("has_pad_y", {false, true})),
framework::dataset::make("DataType", DataType::F32)),
a_values),
#pragma GCC diagnostic ignored "-Wswitch-default"
#pragma GCC diagnostic ignored "-Wunused-parameter"
#pragma GCC diagnostic ignored "-Wstrict-overflow"
+#if (defined(__GNUC__) && (__GNUC__ >= 7))
+#pragma GCC diagnostic ignored "-Wimplicit-fallthrough"
+#endif // (defined(__GNUC__) && (__GNUC__ >= 7))
+#if defined(__clang__)
+#pragma GCC diagnostic ignored "-Wparentheses-equality"
+#endif // defined(__clang__)
#define STB_IMAGE_IMPLEMENTATION
#include "stb/stb_image.h"
#pragma GCC diagnostic pop