@@ -113,15 +113,15 @@ py_unary_ufunc(dpctl::tensor::usm_ndarray src,
113113 return std::make_pair (sycl::event (), sycl::event ());
114114 }
115115
116- // ensure that output is ample enough to accomodate all elements
116+ // ensure that output is ample enough to accommodate all elements
117117 auto dst_offsets = dst.get_minmax_offsets ();
118- // destination must be ample enough to accomodate all elements
118+ // destination must be ample enough to accommodate all elements
119119 {
120120 size_t range =
121121 static_cast <size_t >(dst_offsets.second - dst_offsets.first );
122122 if (range + 1 < src_nelems) {
123123 throw py::value_error (
124- " Destination array can not accomodate all the "
124+ " Destination array can not accommodate all the "
125125 " elements of source array." );
126126 }
127127 }
@@ -366,15 +366,15 @@ std::pair<sycl::event, sycl::event> py_binary_ufunc(
366366 return std::make_pair (sycl::event (), sycl::event ());
367367 }
368368
369- // ensure that output is ample enough to accomodate all elements
369+ // ensure that output is ample enough to accommodate all elements
370370 auto dst_offsets = dst.get_minmax_offsets ();
371- // destination must be ample enough to accomodate all elements
371+ // destination must be ample enough to accommodate all elements
372372 {
373373 size_t range =
374374 static_cast <size_t >(dst_offsets.second - dst_offsets.first );
375375 if (range + 1 < src_nelems) {
376376 throw py::value_error (
377- " Destination array can not accomodate all the "
377+ " Destination array can not accommodate all the "
378378 " elements of source array." );
379379 }
380380 }
@@ -664,15 +664,15 @@ py_binary_inplace_ufunc(dpctl::tensor::usm_ndarray lhs,
664664 return std::make_pair (sycl::event (), sycl::event ());
665665 }
666666
667- // ensure that output is ample enough to accomodate all elements
667+ // ensure that output is ample enough to accommodate all elements
668668 auto lhs_offsets = lhs.get_minmax_offsets ();
669- // destination must be ample enough to accomodate all elements
669+ // destination must be ample enough to accommodate all elements
670670 {
671671 size_t range =
672672 static_cast <size_t >(lhs_offsets.second - lhs_offsets.first );
673673 if (range + 1 < rhs_nelems) {
674674 throw py::value_error (
675- " Destination array can not accomodate all the "
675+ " Destination array can not accommodate all the "
676676 " elements of source array." );
677677 }
678678 }
0 commit comments