MCPcopy Create free account
hub / github.com/clMathLibraries/clBLAS / cFillRandom

Function cFillRandom

src/library/common/tests/t_dblock_kgen.c:223–230  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

221// for the complex float type
222
223static void
224cFillRandom(void *a)
225{
226 cl_float2 *a1 = (cl_float2*)a;
227
228 a1->s[0] = random() % 1000;
229 a1->s[1] = random() % 1000;
230}
231
232static void
233cFillMarker(void *a)

Callers

nothing calls this directly

Calls 1

randomFunction · 0.50

Tested by

no test coverage detected