MCPcopy Create free account
hub / github.com/KhronosGroup/OpenCL-CTS / initSrcBuffer

Function initSrcBuffer

test_conformance/select/test_select.cpp:114–121  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

112 size_t i;
113
114 for ( i=0 ; i < BUFFER_SIZE/sizeof(cl_int); i++)
115 s1[i] = genrand_int32(d);
116}
117
118static void initCmpBuffer(void *cmp, Type cmptype, uint32_t start,
119 const size_t count, const uint32_t vecsize,
120 MTdataHolder &d)
121
122{
123 assert(cmptype != kfloat);
124 switch (type_size[cmptype]) {

Callers 1

doTestFunction · 0.85

Calls 1

genrand_int32Function · 0.85

Tested by

no test coverage detected