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

Function create_random_data

test_common/harness/conversions.cpp:1211–1216  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1209}
1210
1211void *create_random_data(ExplicitType type, MTdata d, size_t count)
1212{
1213 void *data = malloc(get_explicit_type_size(type) * count);
1214 generate_random_data(type, count, d, data);
1215 return data;
1216}
1217
1218cl_long read_upscale_signed(void *inRaw, ExplicitType inType)
1219{

Callers 9

REGISTER_TESTFunction · 0.85
REGISTER_TESTFunction · 0.85
REGISTER_TESTFunction · 0.85
test_multi_arg_setFunction · 0.85
CreateGLTexture3DFunction · 0.85
CreateGLTexture3DFunction · 0.85

Calls 2

get_explicit_type_sizeFunction · 0.85
generate_random_dataFunction · 0.85

Tested by 6

REGISTER_TESTFunction · 0.68
REGISTER_TESTFunction · 0.68
test_multi_arg_setFunction · 0.68