mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Fix ~40 typos found by codespell across the codebase
libeigen/eigen!2181 Co-authored-by: Rasmus Munk Larsen <rmlarsen@gmail.com>
This commit is contained in:
@@ -932,9 +932,7 @@ struct TensorEvaluator<const TensorContractionOp<Indices, LeftArgType, RightArgT
|
||||
kernel(m, n, k, use_thread_local);
|
||||
} else {
|
||||
eigen_assert(!use_thread_local);
|
||||
device_.enqueue([this, m, n, k, use_thread_local]() {
|
||||
kernel(m, n, k, use_thread_local);
|
||||
});
|
||||
device_.enqueue([this, m, n, k, use_thread_local]() { kernel(m, n, k, use_thread_local); });
|
||||
}
|
||||
}
|
||||
|
||||
@@ -982,9 +980,7 @@ struct TensorEvaluator<const TensorContractionOp<Indices, LeftArgType, RightArgT
|
||||
} else {
|
||||
while (end - start > 1) {
|
||||
Index mid = (start + end) / 2;
|
||||
device_.enqueue([this, mid, end, k, rhs]() {
|
||||
enqueue_packing_helper(mid, end, k, rhs);
|
||||
});
|
||||
device_.enqueue([this, mid, end, k, rhs]() { enqueue_packing_helper(mid, end, k, rhs); });
|
||||
end = mid;
|
||||
}
|
||||
|
||||
@@ -1000,9 +996,7 @@ struct TensorEvaluator<const TensorContractionOp<Indices, LeftArgType, RightArgT
|
||||
(k > 0 || std::this_thread::get_id() == created_by_thread_id_);
|
||||
|
||||
if (pack_async) {
|
||||
device_.enqueue([this, start, end, k, rhs]() {
|
||||
enqueue_packing_helper(start, end, k, rhs);
|
||||
});
|
||||
device_.enqueue([this, start, end, k, rhs]() { enqueue_packing_helper(start, end, k, rhs); });
|
||||
} else {
|
||||
enqueue_packing_helper(start, end, k, rhs);
|
||||
}
|
||||
@@ -1283,9 +1277,7 @@ struct TensorEvaluator<const TensorContractionOp<Indices, LeftArgType, RightArgT
|
||||
while (end_block_idx - start_block_idx > 1) {
|
||||
Index mid_block_idx = (start_block_idx + end_block_idx) / 2;
|
||||
evaluator->m_device.enqueue(
|
||||
[this, mid_block_idx, end_block_idx]() {
|
||||
evalAsync<Alignment>(mid_block_idx, end_block_idx);
|
||||
});
|
||||
[this, mid_block_idx, end_block_idx]() { evalAsync<Alignment>(mid_block_idx, end_block_idx); });
|
||||
end_block_idx = mid_block_idx;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user