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

Function print_header

test_common/harness/imageHelpers.cpp:4124–4140  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4122
4123
4124void print_header(const cl_image_format *format, bool err = false)
4125{
4126 if (err)
4127 {
4128 log_error("[%-7s %-24s %d]\n",
4129 GetChannelOrderName(format->image_channel_order),
4130 GetChannelTypeName(format->image_channel_data_type),
4131 (int)get_format_channel_count(format));
4132 }
4133 else
4134 {
4135 log_info("[%-7s %-24s %d]\n",
4136 GetChannelOrderName(format->image_channel_order),
4137 GetChannelTypeName(format->image_channel_data_type),
4138 (int)get_format_channel_count(format));
4139 }
4140}
4141
4142bool find_format(cl_image_format *formatList, unsigned int numFormats,
4143 cl_image_format *formatToFind)

Callers 7

test_image_typeFunction · 0.85
test_image_typeFunction · 0.85
test_image_typeFunction · 0.85
test_image_typeFunction · 0.85
test_image_typeFunction · 0.85
read_image_pixel_floatFunction · 0.85
read_image_pixelFunction · 0.85

Calls 3

GetChannelOrderNameFunction · 0.85
GetChannelTypeNameFunction · 0.85
get_format_channel_countFunction · 0.85

Tested by 5

test_image_typeFunction · 0.68
test_image_typeFunction · 0.68
test_image_typeFunction · 0.68
test_image_typeFunction · 0.68
test_image_typeFunction · 0.68