@@ -57,10 +57,10 @@ int main() {
57
57
" thrown\n " ;
58
58
return 1 ; // We shouldn't be here, exception is expected
59
59
} catch (nd_range_error &E) {
60
- if (string_class (E.what ()).find (" Specified local size doesn't match "
61
- " the required work-group size "
62
- " specified in the program source" ) ==
63
- string_class::npos) {
60
+ if (string_class (E.what ()).find (" The specified local size {8, 8, 8} "
61
+ " doesn't match the required work-group "
62
+ " size specified in the program source "
63
+ " {4, 4, 4} " ) == string_class::npos) {
64
64
std::cerr
65
65
<< " Test case ReqdWGSizeNegativeA failed: unexpected exception: "
66
66
<< E.what () << std::endl;
@@ -670,7 +670,8 @@ int main() {
670
670
}
671
671
} catch (nd_range_error &E) {
672
672
if (string_class (E.what ()).find (
673
- " Global_work_size not evenly divisible by local_work_size. "
673
+ " Global work size {100, 1, 1} is not evenly divisible "
674
+ " by local work-group size {3, 1, 1}. "
674
675
" Non-uniform work-groups are not allowed by when "
675
676
" -cl-uniform-work-group-size flag is used. Underlying "
676
677
" OpenCL 2.x implementation supports this feature, but it is "
@@ -720,7 +721,8 @@ int main() {
720
721
}
721
722
} catch (nd_range_error &E) {
722
723
if (string_class (E.what ()).find (
723
- " Global_work_size not evenly divisible by local_work_size. "
724
+ " Global work size {16, 33, 100} is not evenly divisible by "
725
+ " local work-group size {5, 3, 2}. "
724
726
" Non-uniform work-groups are not allowed by when "
725
727
" -cl-uniform-work-group-size flag is used. Underlying "
726
728
" OpenCL 2.x implementation supports this feature, but it is "
@@ -773,7 +775,8 @@ int main() {
773
775
}
774
776
} catch (nd_range_error &E) {
775
777
if (string_class (E.what ()).find (
776
- " Local workgroup size greater than global range size. "
778
+ " Local work-group size {17, 1, 1} is greater than global range "
779
+ " size {16, 1, 1}. "
777
780
" Non-uniform work-groups are not allowed by when "
778
781
" -cl-uniform-work-group-size flag is used. Underlying "
779
782
" OpenCL 2.x implementation supports this feature, but it is "
@@ -824,7 +827,8 @@ int main() {
824
827
}
825
828
} catch (nd_range_error &E) {
826
829
if (string_class (E.what ()).find (
827
- " Local workgroup size greater than global range size. "
830
+ " Local work-group size {7, 2, 2} is greater than global range "
831
+ " size {6, 6, 6}. "
828
832
" Non-uniform work-groups are not allowed by when "
829
833
" -cl-uniform-work-group-size flag is used. Underlying "
830
834
" OpenCL 2.x implementation supports this feature, but it is "
0 commit comments