Skip to content

Commit e9ffe0c

Browse files
committed
Remove runtime_error for cluster dims and local ranges dims must be the same
1 parent 31ba880 commit e9ffe0c

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

sycl/source/detail/ndrange_desc.hpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -86,10 +86,6 @@ class NDRDescT {
8686
: NDRDescT(Range, /*SetNumWorkGroups=*/false) {}
8787

8888
template <int Dims_> void setClusterDimensions(sycl::range<Dims_> N) {
89-
if (this->Dims != size_t(Dims_)) {
90-
throw std::runtime_error(
91-
"Dimensionality of cluster, global and local ranges must be same");
92-
}
9389

9490
for (int I = 0; I < Dims_; ++I)
9591
ClusterDimensions[I] = N[I];

0 commit comments

Comments
 (0)