| 307 | } |
| 308 | |
| 309 | bool VectorProgram::IsImageAligned(const ImageBase& Source) |
| 310 | { |
| 311 | uint BytesPerWorker = Source.DepthBytes() * Source.NbChannels() * GetVectorWidth(Source.DataType()); |
| 312 | return (Source.Step() % BytesPerWorker == 0); |
| 313 | } |
| 314 | |
| 315 | cl::NDRange VectorProgram::GetRange(EProgramVersions Version, const ImageBase& Img1) |
| 316 | { |
nothing calls this directly
no test coverage detected