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

Function CheckFloat

C++/programs/Program.cpp:487–491  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

485}
486
487void CheckFloat(const ImageBase& Img)
488{
489 if (!Img.IsFloat())
490 throw cl::Error(CL_INVALID_VALUE, "non-float image used when not allowed");
491}
492
493void CheckNotFloat(const ImageBase& Img)
494{

Callers 9

CrossCorrMethod · 0.85
CrossCorr_NormMethod · 0.85
SqrDistanceMethod · 0.85
SqrDistance_NormMethod · 0.85
SqrDistanceMethod · 0.85
SqrDistance_NormMethod · 0.85
AbsDistanceMethod · 0.85
CrossCorrMethod · 0.85
CrossCorr_NormMethod · 0.85

Calls 1

IsFloatMethod · 0.80

Tested by

no test coverage detected