Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typos and update ignore list #1586

Merged
merged 2 commits into from
Apr 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/_typos.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@ extend-exclude = ["third_party/*", "*.svg"]
[default.extend-words]
dout = "dout"
nd = "nd"
ans = "ans"
tht = "tht"
thr = "thr"
iy = "iy"
automatical = "automatical"
strat = "strat"
entrie = "entrie"
Expand Down
4 changes: 2 additions & 2 deletions dev_tools/oneapi/add_host_function.sh
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ SCOPE_END=".*\}.*"
CHECK_GLOBAL_KEYWORD=".*${GLOBAL_KEYWORD}.*"
FUNCTION_HANDLE=""
DURING_FUNCNAME="false"
ANAYSIS_FUNC=" *(template *<(.*)>)?.* (.*)\((.*)\)"
ANALYSIS_FUNC=" *(template *<(.*)>)?.* (.*)\((.*)\)"
START_BLOCK_REX="^( *\/\*| *\/\/)"
END_BLOCK_REX="\*\/$| *\/\/"
IN_BLOCK=0
Expand Down Expand Up @@ -147,7 +147,7 @@ while IFS='' read -r line || [ -n "$line" ]; do
# remove additional space
FUNCTION_HANDLE=$(echo "${FUNCTION_HANDLE}" | sed -E 's/ +/ /g;')

if [[ "${FUNCTION_HANDLE}" =~ $ANAYSIS_FUNC ]]; then
if [[ "${FUNCTION_HANDLE}" =~ $ANALYSIS_FUNC ]]; then
TEMPLATE="${BASH_REMATCH[1]}"
TEMPLATE_CONTENT="${BASH_REMATCH[2]}"
NAME="${BASH_REMATCH[3]}"
Expand Down
2 changes: 1 addition & 1 deletion omp/factorization/par_ilu_kernels.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ void compute_l_u_factors(std::shared_ptr<const OmpExecutor> exec,
matrix::Csr<ValueType, IndexType>* u_factor)
{
// If `iterations` is set to `Auto`, we do 3 fix-point sweeps as
// experiements indicate this works well for many problems.
// experiments indicate this works well for many problems.
iterations = (iterations == 0) ? 3 : iterations;
const auto col_idxs = system_matrix->get_const_col_idxs();
const auto row_idxs = system_matrix->get_const_row_idxs();
Expand Down
2 changes: 1 addition & 1 deletion omp/reorder/rcm_kernels.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ struct UbfsLinearQueue {
break;
}

// No measureable effect on performance.
// No measurable effect on performance.
GKO_MM_PAUSE();
}

Expand Down
Loading