Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/arrayfire/forge
/ divup
Function
divup
examples/opencl/histogram.cpp:153–157 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
151
)EOK";
152
153
inline
154
int divup(int a, int b)
155
{
156
return (a+b-1)/b;
157
}
158
159
void kernel(cl::Buffer& image, cl::Buffer& base, cl::Buffer& perlin,
160
cl::Buffer& histOut, cl::Buffer& colors,
Callers
1
kernel
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected