File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -300,8 +300,7 @@ int main() {
300
300
return 1 ; // We shouldn't be here, exception is expected
301
301
} catch (nd_range_error &E) {
302
302
if (string_class (E.what ()).find (
303
- " Total number of work-items in a work-group cannot exceed "
304
- " info::device::max_work_group_size which is equal to " +
303
+ " Total number of work-items in a work-group cannot exceed " +
305
304
std::to_string (MaxDeviceWGSize)) == string_class::npos) {
306
305
std::cerr
307
306
<< " Test case OpenCL1XNegativeC failed: unexpected exception: "
@@ -349,8 +348,7 @@ int main() {
349
348
return 1 ; // We shouldn't be here, exception is expected
350
349
} catch (nd_range_error &E) {
351
350
if (string_class (E.what ()).find (
352
- " Total number of work-items in a work-group cannot exceed "
353
- " info::kernel_work_group::work_group_size which is equal to " +
351
+ " Total number of work-items in a work-group cannot exceed " +
354
352
std::to_string (MaxKernelWGSize) + " for this kernel" ) ==
355
353
string_class::npos) {
356
354
std::cerr
You can’t perform that action at this time.
0 commit comments