| 444 | } |
| 445 | |
| 446 | void CheckSameSize(const ImageBase& Img1, const ImageBase& Img2) |
| 447 | { |
| 448 | if (Img1.Width() != Img2.Width() || Img1.Height() != Img2.Height()) |
| 449 | throw cl::Error(CL_INVALID_IMAGE_SIZE, "Different image sizes used"); |
| 450 | } |
| 451 | |
| 452 | void CheckCompatibility(const ImageBase& Img1, const ImageBase& Img2) |
| 453 | { |
no test coverage detected