@@ -57,10 +57,10 @@ int main() {
5757 " thrown\n " ;
5858 return 1 ; // We shouldn't be here, exception is expected
5959 } 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) {
6464 std::cerr
6565 << " Test case ReqdWGSizeNegativeA failed: unexpected exception: "
6666 << E.what () << std::endl;
@@ -670,7 +670,8 @@ int main() {
670670 }
671671 } catch (nd_range_error &E) {
672672 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}. "
674675 " Non-uniform work-groups are not allowed by when "
675676 " -cl-uniform-work-group-size flag is used. Underlying "
676677 " OpenCL 2.x implementation supports this feature, but it is "
@@ -720,7 +721,8 @@ int main() {
720721 }
721722 } catch (nd_range_error &E) {
722723 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}. "
724726 " Non-uniform work-groups are not allowed by when "
725727 " -cl-uniform-work-group-size flag is used. Underlying "
726728 " OpenCL 2.x implementation supports this feature, but it is "
@@ -773,7 +775,8 @@ int main() {
773775 }
774776 } catch (nd_range_error &E) {
775777 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}. "
777780 " Non-uniform work-groups are not allowed by when "
778781 " -cl-uniform-work-group-size flag is used. Underlying "
779782 " OpenCL 2.x implementation supports this feature, but it is "
@@ -824,7 +827,8 @@ int main() {
824827 }
825828 } catch (nd_range_error &E) {
826829 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}. "
828832 " Non-uniform work-groups are not allowed by when "
829833 " -cl-uniform-work-group-size flag is used. Underlying "
830834 " OpenCL 2.x implementation supports this feature, but it is "
0 commit comments