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

Function CheckNotFloat

C++/programs/Program.cpp:493–497  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

491}
492
493void CheckNotFloat(const ImageBase& Img)
494{
495 if (Img.IsFloat())
496 throw cl::Error(CL_INVALID_VALUE, "float image used when not allowed");
497}
498
499void Check1Channel(const ImageBase& Img)
500{

Callers 4

AndMethod · 0.85
OrMethod · 0.85
XorMethod · 0.85
NotMethod · 0.85

Calls 1

IsFloatMethod · 0.80

Tested by

no test coverage detected