Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
493
void CheckNotFloat(const ImageBase& Img)
494
{
495
if (Img.IsFloat())
496
throw cl::Error(CL_INVALID_VALUE,
"float image used when not allowed"
);
497
}
498
499
void Check1Channel(const ImageBase& Img)
500
{
Callers
4
And
Method · 0.85
Or
Method · 0.85
Xor
Method · 0.85
Not
Method · 0.85
Calls
1
IsFloat
Method · 0.80
Tested by
no test coverage detected