Skip to content

Commit d7cb44e

Browse files
author
Ilya Stepykin
committed
[SYCL][NFC] Fix typo in static assert
Signed-off-by: Ilya Stepykin <[email protected]>
1 parent 40aa3f9 commit d7cb44e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

sycl/include/CL/sycl/id.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ template <int dimensions = 1> class id : public detail::array<dimensions> {
2121
private:
2222
using base = detail::array<dimensions>;
2323
static_assert(dimensions >= 1 && dimensions <= 3,
24-
"id can only be 1, 2, or 3 dimentional.");
24+
"id can only be 1, 2, or 3 dimensional.");
2525
template <int N, int val, typename T>
2626
using ParamTy = detail::enable_if_t<(N == val), T>;
2727

sycl/include/CL/sycl/range.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ namespace sycl {
1717
template <int dimensions> class id;
1818
template <int dimensions = 1> class range : public detail::array<dimensions> {
1919
static_assert(dimensions >= 1 && dimensions <= 3,
20-
"range can only be 1, 2, or 3 dimentional.");
20+
"range can only be 1, 2, or 3 dimensional.");
2121
using base = detail::array<dimensions>;
2222

2323
public:

sycl/source/detail/scheduler/commands.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -585,7 +585,7 @@ static void adjustNDRangePerKernel(NDRDescT &NDR, RT::PiKernel Kernel,
585585
// So in order to ensure the correctness we update all the kernel
586586
// parameters accordingly.
587587
// Initially we keep the order of NDRDescT as it provided by the user, this
588-
// simplifies overall handling and do the reverse only when the
588+
// simplifies overall handling and do the reverse only when
589589
// the kernel is enqueued.
590590
static void ReverseRangeDimensionsForKernel(NDRDescT &NDR) {
591591
if (NDR.Dims > 1) {

0 commit comments

Comments
 (0)