MCPcopy Create free account
hub / github.com/CRVI/OpenCLIPP / SelectVersion

Method SelectVersion

C++/programs/Program.cpp:365–374  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

363}
364
365VectorProgram::EProgramVersions VectorProgram::SelectVersion(const ImageBase& Img1)
366{
367 if (!IsImageAligned(Img1))
368 return Unaligned; // Use the slow unaligned version
369
370 if (!IsImageFlush(Img1))
371 return Standard; // Use standard version
372
373 return Fast; // Use fast version
374}
375
376VectorProgram::EProgramVersions VectorProgram::SelectVersion(const ImageBase& Img1, const ImageBase& Img2)
377{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected