aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorramelg01 <ramy.elgammal@arm.com>2021-12-23 08:32:08 +0000
committerRamy Elgammal <ramy.elgammal@arm.com>2021-12-24 11:30:11 +0000
commitb2eba7f307d5ae634ff41bd88d5bd1659466d82d (patch)
treed8fad5cae925f2c2320eb16970029125d6461c56
parentdc85d78e3ac138f62319d805f59b6c6f06e64837 (diff)
downloadComputeLibrary-b2eba7f307d5ae634ff41bd88d5bd1659466d82d.tar.gz
Replacing non-inclusive terms with proper terms
Partially-Resolves: COMPMID-4854 Signed-off-by: Ramy Elgammal <ramy.elgammal@arm.com> Change-Id: Ic9757c89878b9b5a89680b5344de657f676c7bf2 Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/6859 Comments-Addressed: Arm Jenkins <bsgcomp@arm.com> Tested-by: Arm Jenkins <bsgcomp@arm.com> Reviewed-by: Gunes Bayir <gunes.bayir@arm.com>
-rw-r--r--arm_compute/core/Error.h8
-rw-r--r--arm_compute/runtime/IScheduler.h2
-rw-r--r--docs/Doxyfile18
-rw-r--r--docs/contributor_guide/contribution_guidelines.dox2
-rw-r--r--docs/user_guide/release_version_and_change_log.dox2
-rw-r--r--examples/graph_resnext50.cpp2
-rw-r--r--examples/neon_copy_objects.cpp2
-rw-r--r--src/common/cpuinfo/CpuModel.h4
-rw-r--r--src/core/CL/OpenCL.cpp2
-rw-r--r--src/core/NEON/kernels/arm_gemm/gemm_implementation.hpp2
-rw-r--r--support/ToolchainSupport.h12
-rw-r--r--tests/framework/Framework.cpp2
-rw-r--r--tests/framework/Framework.h6
-rw-r--r--tests/main.cpp2
-rw-r--r--tests/validation/reference/FullyConnectedLayer.cpp4
15 files changed, 35 insertions, 35 deletions
diff --git a/arm_compute/core/Error.h b/arm_compute/core/Error.h
index 992d6bc71f..c9a0d85f0c 100644
--- a/arm_compute/core/Error.h
+++ b/arm_compute/core/Error.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2016-2019 Arm Limited.
+ * Copyright (c) 2016-2019, 2021 Arm Limited.
*
* SPDX-License-Identifier: MIT
*
@@ -119,7 +119,7 @@ private:
/** Creates an error containing the error message
*
* @param[in] error_code Error code
- * @param[in] msg Message to display before aborting.
+ * @param[in] msg Message to display before abandoning.
*
* @return status containing the error
*/
@@ -131,7 +131,7 @@ Status create_error(ErrorCode error_code, std::string msg);
* @param[in] func Function in which the error occurred.
* @param[in] file File in which the error occurred.
* @param[in] line Line in which the error occurred.
- * @param[in] msg Message to display before aborting.
+ * @param[in] msg Message to display before abandoning.
*
* @return status containing the error
*/
@@ -164,7 +164,7 @@ Status create_error_msg(ErrorCode error_code, const char *func, const char *file
* @param[in] func Function in which the error occurred.
* @param[in] file File in which the error occurred.
* @param[in] line Line in which the error occurred.
- * @param[in] msg Message to display before aborting.
+ * @param[in] msg Message to display before abandoning.
*/
#define ARM_COMPUTE_CREATE_ERROR_LOC(error_code, func, file, line, msg) arm_compute::create_error_msg(error_code, func, file, line, msg)
diff --git a/arm_compute/runtime/IScheduler.h b/arm_compute/runtime/IScheduler.h
index f67357dcfd..129009c58d 100644
--- a/arm_compute/runtime/IScheduler.h
+++ b/arm_compute/runtime/IScheduler.h
@@ -152,7 +152,7 @@ public:
*/
virtual void set_num_threads_with_affinity(unsigned int num_threads, BindFunc func);
- /** Returns the number of threads that the SingleThreadScheduler has in his pool.
+ /** Returns the number of threads that the SingleThreadScheduler has in its pool.
*
* @return Number of threads available in SingleThreadScheduler.
*/
diff --git a/docs/Doxyfile b/docs/Doxyfile
index f70ec931eb..02ed988dce 100644
--- a/docs/Doxyfile
+++ b/docs/Doxyfile
@@ -364,7 +364,7 @@ SUBGROUPING = YES
# When the INLINE_GROUPED_CLASSES tag is set to YES, classes, structs and unions
# are shown inside the group in which they are included (e.g. using \ingroup)
-# instead of on a separate page (for HTML and Man pages) or section (for LaTeX
+# instead of on a separate page (for HTML and Manual pages) or section (for LaTeX
# and RTF).
#
# Note that this feature does not work in combination with
@@ -378,7 +378,7 @@ INLINE_GROUPED_CLASSES = NO
# the documentation of the scope in which they are defined (i.e. file,
# namespace, or group documentation), provided this scope is documented. If set
# to NO, structs, classes, and unions are shown on a separate page (for HTML and
-# Man pages) or section (for LaTeX and RTF).
+# Manual pages) or section (for LaTeX and RTF).
# The default value is: NO.
INLINE_SIMPLE_STRUCTS = NO
@@ -1882,16 +1882,16 @@ RTF_EXTENSIONS_FILE =
#RTF_SOURCE_CODE = NO
#---------------------------------------------------------------------------
-# Configuration options related to the man page output
+# Configuration options related to the manual page output
#---------------------------------------------------------------------------
-# If the GENERATE_MAN tag is set to YES, doxygen will generate man pages for
+# If the GENERATE_MAN tag is set to YES, doxygen will generate manual pages for
# classes and files.
# The default value is: NO.
GENERATE_MAN = NO
-# The MAN_OUTPUT tag is used to specify where the man pages will be put. If a
+# The MAN_OUTPUT tag is used to specify where the manual pages will be put. If a
# relative path is entered the value of OUTPUT_DIRECTORY will be put in front of
# it. A directory man3 will be created inside the directory specified by
# MAN_OUTPUT.
@@ -1901,7 +1901,7 @@ GENERATE_MAN = NO
MAN_OUTPUT = man
# The MAN_EXTENSION tag determines the extension that is added to the generated
-# man pages. In case the manual section does not start with a number, the number
+# manual pages. In case the manual section does not start with a number, the number
# 3 is prepended. The dot (.) at the beginning of the MAN_EXTENSION tag is
# optional.
# The default value is: .3.
@@ -1910,15 +1910,15 @@ MAN_OUTPUT = man
MAN_EXTENSION = .3
# The MAN_SUBDIR tag determines the name of the directory created within
-# MAN_OUTPUT in which the man pages are placed. If defaults to man followed by
+# MAN_OUTPUT in which the manual pages are placed. If defaults to man followed by
# MAN_EXTENSION with the initial . removed.
# This tag requires that the tag GENERATE_MAN is set to YES.
#MAN_SUBDIR =
# If the MAN_LINKS tag is set to YES and doxygen generates man output, then it
-# will generate one additional man file for each entity documented in the real
-# man page(s). These additional files only source the real man page, but without
+# will generate one additional manual file for each entity documented in the real
+# manual page(s). These additional files only source the real manual page, but without
# them the man command would be unable to find the correct page.
# The default value is: NO.
# This tag requires that the tag GENERATE_MAN is set to YES.
diff --git a/docs/contributor_guide/contribution_guidelines.dox b/docs/contributor_guide/contribution_guidelines.dox
index f3a6def582..d37c6b9cb9 100644
--- a/docs/contributor_guide/contribution_guidelines.dox
+++ b/docs/contributor_guide/contribution_guidelines.dox
@@ -444,7 +444,7 @@ Once a patch is uploaded for review, there is a pre-commit test that runs on a J
- get a "+1 Comments-Addressed", in case of comments from reviewers the committer has to address them all. A comment is considered addressed when the first line of the reply contains the word "Done"
- get a "+2" from a reviewer, that means the patch has the final approval
-At the moment, the Jenkins server is not publicly accessible and for security reasons patches submitted by non-whitelisted committers do not trigger the pre-commit tests. For this reason, one of the maintainers has to manually trigger the job.
+At the moment, the Jenkins server is not publicly accessible and for security reasons patches submitted by non-allowlisted committers do not trigger the pre-commit tests. For this reason, one of the maintainers has to manually trigger the job.
If the pre-commit test fails, the Jenkins job will post a comment on Gerrit with the details about the failure so that the committer will be able to reproduce the error and fix the issue, if any (sometimes there can be infrastructure issues, a test platform disconnecting for example, where the job needs to be retriggered).
diff --git a/docs/user_guide/release_version_and_change_log.dox b/docs/user_guide/release_version_and_change_log.dox
index ffbb813e28..a8805b4759 100644
--- a/docs/user_guide/release_version_and_change_log.dox
+++ b/docs/user_guide/release_version_and_change_log.dox
@@ -1365,7 +1365,7 @@ v17.06 Public major release
- Added infrastructure to provide GPU specific optimisation for some OpenCL kernels.
- Added @ref OMPScheduler (OpenMP) scheduler for Neon
- Added @ref SingleThreadScheduler scheduler for Arm® Neon™ (For bare metal)
- - User can specify his own scheduler by implementing the @ref IScheduler interface.
+ - User can specify their own scheduler by implementing the @ref IScheduler interface.
- New OpenCL kernels / functions:
- @ref CLBatchNormalizationLayerKernel / @ref CLBatchNormalizationLayer
- CLDepthConcatenateLayerKernel / CLDepthConcatenateLayer
diff --git a/examples/graph_resnext50.cpp b/examples/graph_resnext50.cpp
index 97eb85ccd1..6378f6c741 100644
--- a/examples/graph_resnext50.cpp
+++ b/examples/graph_resnext50.cpp
@@ -192,7 +192,7 @@ private:
* Model is based on:
* https://arxiv.org/abs/1611.05431
* "Aggregated Residual Transformations for Deep Neural Networks"
- * Saining Xie, Ross Girshick, Piotr Dollar, Zhuowen Tu, Kaiming He
+ * Saining Xie, Ross Girshick, Piotr Dollar, Zhuowen Tu, Kaiming He.
*
* @note To list all the possible arguments execute the binary appended with the --help option
*
diff --git a/examples/neon_copy_objects.cpp b/examples/neon_copy_objects.cpp
index 3043709fe7..b060b09759 100644
--- a/examples/neon_copy_objects.cpp
+++ b/examples/neon_copy_objects.cpp
@@ -49,7 +49,7 @@ public:
src_data = new float[width * height * batch];
dst_data = new float[width * height * batch];
- // Fill src_data with dummy values:
+ // Fill src_data with pseudo(meaningless) values:
for(unsigned int b = 0; b < batch; b++)
{
for(unsigned int h = 0; h < height; h++)
diff --git a/src/common/cpuinfo/CpuModel.h b/src/common/cpuinfo/CpuModel.h
index 4bd294e326..4fe6c29e53 100644
--- a/src/common/cpuinfo/CpuModel.h
+++ b/src/common/cpuinfo/CpuModel.h
@@ -55,7 +55,7 @@ CpuModel midr_to_model(uint32_t midr);
*
* @note This is used in case of old kernel configurations where some capabilities are not exposed.
*
- * @param[in] model Model to check for whitelisted capabilities
+ * @param[in] model Model to check for allowlisted capabilities
*/
bool model_supports_fp16(CpuModel model);
@@ -63,7 +63,7 @@ bool model_supports_fp16(CpuModel model);
*
* @note This is used in case of old kernel configurations where some capabilities are not exposed.
*
- * @param[in] model Model to check for whitelisted capabilities
+ * @param[in] model Model to check for allowlisted capabilities
*/
bool model_supports_dot(CpuModel model);
} // namespace cpuinfo
diff --git a/src/core/CL/OpenCL.cpp b/src/core/CL/OpenCL.cpp
index d8c2736ef7..d5034ba8fa 100644
--- a/src/core/CL/OpenCL.cpp
+++ b/src/core/CL/OpenCL.cpp
@@ -163,7 +163,7 @@ bool opencl_is_available()
// hold their state, we call a harmless OpenCL function (clGetPlatformIDs
// with invalid parameters must result in CL_INVALID_VALUE) to ensure the
// runtimes have a chance to initialize their static objects first. Thanks
- // to C++11 rules about normal program termination (cf [basic.start]), this
+ // to C++11 rules about normal program completion (cf [basic.start]), this
// ensures their static objects are destroyed last, i.e. after the
// singleton CLScheduler is destroyed.
//
diff --git a/src/core/NEON/kernels/arm_gemm/gemm_implementation.hpp b/src/core/NEON/kernels/arm_gemm/gemm_implementation.hpp
index d3857a50e7..809946f100 100644
--- a/src/core/NEON/kernels/arm_gemm/gemm_implementation.hpp
+++ b/src/core/NEON/kernels/arm_gemm/gemm_implementation.hpp
@@ -144,7 +144,7 @@ struct GemmImplementation<Top, Tret, Nothing> {
/* "Master" function implemented for each valid combination of types.
* Returns a list of GEMM implementation descriptors for processing by the
- * other functions, terminated by an implementation with
+ * other functions, ended by an implementation with
* method==GemmMethod::DEFAULT. */
template<typename Top, typename Tret, class OutputStage = Nothing>
const GemmImplementation<Top, Tret, OutputStage> *gemm_implementation_list();
diff --git a/support/ToolchainSupport.h b/support/ToolchainSupport.h
index d8c14411e8..f19a8da627 100644
--- a/support/ToolchainSupport.h
+++ b/support/ToolchainSupport.h
@@ -143,12 +143,12 @@ inline T fma(T x, T y, T z)
* and writes the result to a character string buffer.
*
* @param[in] s Pointer to a character string to write to
- * @param[in] n Up to buf_size - 1 characters may be written, plus the null terminator
- * @param[in] fmt Pointer to a null-terminated multibyte string specifying how to interpret the data.
+ * @param[in] n Up to buf_size - 1 characters may be written, plus the null ending character
+ * @param[in] fmt Pointer to a null-ended multibyte string specifying how to interpret the data.
* @param[in] args Arguments forwarded to snprintf.
*
* @return Number of characters that would have been written for a sufficiently large buffer
- * if successful (not including the terminating null character), or a negative value if an error occurred.
+ * if successful (not including the ending null character), or a negative value if an error occurred.
*/
template <typename... Ts>
inline int snprintf(char *s, size_t n, const char *fmt, Ts &&... args)
@@ -258,12 +258,12 @@ inline T fma(T x, T y, T z)
* and writes the result to a character string buffer.
*
* @param[in] s Pointer to a character string to write to
- * @param[in] n Up to buf_size - 1 characters may be written, plus the null terminator
- * @param[in] fmt Pointer to a null-terminated multibyte string specifying how to interpret the data.
+ * @param[in] n Up to buf_size - 1 characters may be written, plus the null ending character
+ * @param[in] fmt Pointer to a null-ended multibyte string specifying how to interpret the data.
* @param[in] args Arguments forwarded to std::snprintf.
*
* @return Number of characters that would have been written for a sufficiently large buffer
- * if successful (not including the terminating null character), or a negative value if an error occurred.
+ * if successful (not including the ending null character), or a negative value if an error occurred.
*/
template <typename... Ts>
inline int snprintf(char *s, std::size_t n, const char *fmt, Ts &&... args)
diff --git a/tests/framework/Framework.cpp b/tests/framework/Framework.cpp
index e59c5a45e9..03c1db82c8 100644
--- a/tests/framework/Framework.cpp
+++ b/tests/framework/Framework.cpp
@@ -529,7 +529,7 @@ void Framework::run_test(const TestInfo &info, TestCaseFactory &test_factory)
{
if(_stop_on_error)
{
- throw std::runtime_error("Abort on first error.");
+ throw std::runtime_error("Abandon on first error.");
}
}
diff --git a/tests/framework/Framework.h b/tests/framework/Framework.h
index 4c2e86c6ea..274f03a922 100644
--- a/tests/framework/Framework.h
+++ b/tests/framework/Framework.h
@@ -230,13 +230,13 @@ public:
/** Indicates if test execution is stopped after the first failed test.
*
- * @return True if the execution is going to be aborted after the first failed test.
+ * @return True if the execution is going to be stopped after the first failed test.
*/
bool stop_on_error() const;
- /** Set whether to abort execution after the first failed test.
+ /** Set whether to stop execution after the first failed test.
*
- * @param[in] stop_on_error True if execution is going to be aborted after first failed test.
+ * @param[in] stop_on_error True if execution is going to be stopped after first failed test.
*/
void set_stop_on_error(bool stop_on_error);
diff --git a/tests/main.cpp b/tests/main.cpp
index e1963b1609..bc264de378 100644
--- a/tests/main.cpp
+++ b/tests/main.cpp
@@ -116,7 +116,7 @@ int main(int argc, char **argv)
auto filter_id = parser.add_option<utils::SimpleOption<std::string>>("filter-id");
filter_id->set_help("List of test ids. ... can be used to define a range.");
auto stop_on_error = parser.add_option<utils::ToggleOption>("stop-on-error");
- stop_on_error->set_help("Abort execution after the first failed test (useful for debugging)");
+ stop_on_error->set_help("Stop execution after the first failed test (useful for debugging)");
auto seed = parser.add_option<utils::SimpleOption<std::random_device::result_type>>("seed", std::random_device()());
seed->set_help("Global seed for random number generation");
auto list_tests = parser.add_option<utils::ToggleOption>("list-tests", false);
diff --git a/tests/validation/reference/FullyConnectedLayer.cpp b/tests/validation/reference/FullyConnectedLayer.cpp
index 21333958f8..af30e9ee54 100644
--- a/tests/validation/reference/FullyConnectedLayer.cpp
+++ b/tests/validation/reference/FullyConnectedLayer.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2017-2020 Arm Limited.
+ * Copyright (c) 2017-2021 Arm Limited.
*
* SPDX-License-Identifier: MIT
*
@@ -123,7 +123,7 @@ SimpleTensor<T> fully_connected_layer(const SimpleTensor<T> &src, const SimpleTe
// Create reference
SimpleTensor<T> dst{ TensorShape{ dst_shape }, src.data_type(), 1, out_quant_info };
- // Sanity checks
+ // Health checks
const int num_batch_dimensions = std::max(0, static_cast<int>(dst_shape.num_dimensions()) - 1);
const int num_input_dimensions = src.shape().num_dimensions() - num_batch_dimensions;
const unsigned int linear_input_size = src.shape().total_size_lower(num_input_dimensions);