We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 31ba880 commit e9ffe0cCopy full SHA for e9ffe0c
sycl/source/detail/ndrange_desc.hpp
@@ -86,10 +86,6 @@ class NDRDescT {
86
: NDRDescT(Range, /*SetNumWorkGroups=*/false) {}
87
88
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
- }
93
94
for (int I = 0; I < Dims_; ++I)
95
ClusterDimensions[I] = N[I];
0 commit comments