Home
last modified time | relevance | path

Searched refs:CL_HALF_FLOAT (Results 1 – 25 of 30) sorted by relevance

12

/external/mesa3d/src/gallium/frontends/clover/core/
Dformat.cpp57 { { CL_R, CL_HALF_FLOAT }, PIPE_FORMAT_R16_FLOAT },
58 { { CL_RG, CL_HALF_FLOAT }, PIPE_FORMAT_R16G16_FLOAT },
59 { { CL_RGB, CL_HALF_FLOAT }, PIPE_FORMAT_R16G16B16_FLOAT },
60 { { CL_RGBA, CL_HALF_FLOAT }, PIPE_FORMAT_R16G16B16A16_FLOAT },
70 { { CL_A, CL_HALF_FLOAT }, PIPE_FORMAT_A16_FLOAT },
71 { { CL_LUMINANCE, CL_HALF_FLOAT }, PIPE_FORMAT_L16_FLOAT },
72 { { CL_INTENSITY, CL_HALF_FLOAT }, PIPE_FORMAT_I16_FLOAT },
/external/angle/src/libANGLE/
Dcl_utils.cpp68 case CL_HALF_FLOAT: in GetElementSize()
158 case CL_HALF_FLOAT: in IsValidImageFormat()
/external/tensorflow/tensorflow/lite/delegates/gpu/cl/
Dutil.cc162 case CL_HALF_FLOAT: in ChannelTypeToSizeInBytes()
192 return CL_HALF_FLOAT; in DataTypeToChannelType()
Dcl_image_format.cc42 return CL_HALF_FLOAT; in ToImageChannelType()
/external/OpenCL-CTS/test_conformance/gles/
Dhelpers.cpp30 case CL_HALF_FLOAT: in get_kernel_suffix()
55 case CL_HALF_FLOAT: in get_read_kernel_type()
82 case CL_HALF_FLOAT: in get_write_kernel_type()
114 case CL_HALF_FLOAT: in get_write_conversion()
/external/OpenCL-CTS/test_conformance/d3d10/
Dharness.cpp240 …ADD_TEXTURE_FORMAT( DXGI_FORMAT_R16G16B16A16_FLOAT , CL_RGBA , CL_HALF_FLOAT , 16, 4, Texture…
253 …ADD_TEXTURE_FORMAT( DXGI_FORMAT_R16G16_FLOAT , CL_RG , CL_HALF_FLOAT , 16, 2, Texture…
266 …ADD_TEXTURE_FORMAT( DXGI_FORMAT_R16_FLOAT , CL_R , CL_HALF_FLOAT , 16, 1, Texture…
/external/OpenCL-CTS/test_conformance/d3d11/
Dharness.cpp273 …ADD_TEXTURE_FORMAT( DXGI_FORMAT_R16G16B16A16_FLOAT , CL_RGBA , CL_HALF_FLOAT , 16, 4, Texture…
286 …ADD_TEXTURE_FORMAT( DXGI_FORMAT_R16G16_FLOAT , CL_RG , CL_HALF_FLOAT , 16, 2, Texture…
299 …ADD_TEXTURE_FORMAT( DXGI_FORMAT_R16_FLOAT , CL_R , CL_HALF_FLOAT , 16, 1, Texture…
/external/OpenCL-CTS/test_conformance/gl/
Dhelpers.cpp32 case CL_HALF_FLOAT: in get_kernel_suffix()
59 case CL_HALF_FLOAT: in get_read_kernel_type()
94 case CL_HALF_FLOAT: in get_write_kernel_type()
129 case CL_HALF_FLOAT: in get_write_conversion()
/external/OpenCL-CTS/test_conformance/images/kernel_read_write/
Dtest_write_1D.cpp81 if( imageInfo->format->image_channel_data_type == CL_HALF_FLOAT ) in test_write_image_1D()
91 …mage_channel_data_type != CL_FLOAT && imageInfo->format->image_channel_data_type != CL_HALF_FLOAT ) in test_write_image_1D()
376 else if( imageInfo->format->image_channel_data_type == CL_HALF_FLOAT ) in test_write_image_1D()
472 case CL_HALF_FLOAT: in test_write_image_1D()
Dtest_write_image.cpp112 if( imageInfo->format->image_channel_data_type == CL_HALF_FLOAT ) in test_write_image()
122 …mage_channel_data_type != CL_FLOAT && imageInfo->format->image_channel_data_type != CL_HALF_FLOAT ) in test_write_image()
458 else if( imageInfo->format->image_channel_data_type == CL_HALF_FLOAT ) in test_write_image()
555 case CL_HALF_FLOAT: in test_write_image()
634 case CL_HALF_FLOAT: in test_write_image_set()
Dtest_write_1D_array.cpp91 if( imageInfo->format->image_channel_data_type == CL_HALF_FLOAT ) in test_write_image_1D_array()
101 …mage_channel_data_type != CL_FLOAT && imageInfo->format->image_channel_data_type != CL_HALF_FLOAT ) in test_write_image_1D_array()
396 else if( imageInfo->format->image_channel_data_type == CL_HALF_FLOAT ) in test_write_image_1D_array()
492 case CL_HALF_FLOAT: in test_write_image_1D_array()
Dtest_write_3D.cpp117 if( imageInfo->format->image_channel_data_type == CL_HALF_FLOAT ) in test_write_image_3D()
424 else if( imageInfo->format->image_channel_data_type == CL_HALF_FLOAT ) in test_write_image_3D()
522 case CL_HALF_FLOAT: in test_write_image_3D()
Dtest_write_2D_array.cpp114 if( imageInfo->format->image_channel_data_type == CL_HALF_FLOAT ) in test_write_image_2D_array()
417 else if( imageInfo->format->image_channel_data_type == CL_HALF_FLOAT ) in test_write_image_2D_array()
515 case CL_HALF_FLOAT: in test_write_image_2D_array()
Dtest_common.cpp180 if (imageInfo->format->image_channel_data_type == CL_HALF_FLOAT) in test_read_image()
436 && imageInfo->format->image_channel_data_type == CL_HALF_FLOAT) in test_read_image()
Dtest_iterations.cpp1207 if( imageInfo->format->image_channel_data_type == CL_HALF_FLOAT ) in test_read_image_2D()
1474 if (0 == initHalf && imageInfo->format->image_channel_data_type == CL_HALF_FLOAT ) { in test_read_image_2D()
1583 case CL_HALF_FLOAT: in test_read_image_set_2D()
Dtest_read_1D_array.cpp275 if( imageInfo->format->image_channel_data_type == CL_HALF_FLOAT ) in test_read_image_1D_array()
504 if (0 == initHalf && imageInfo->format->image_channel_data_type == CL_HALF_FLOAT ) { in test_read_image_1D_array()
Dtest_read_1D.cpp417 if (0 == initHalf && imageInfo->format->image_channel_data_type == CL_HALF_FLOAT ) { in test_read_image_1D()
/external/OpenCL-CTS/test_common/harness/
DimageHelpers.cpp89 case CL_HALF_FLOAT: in get_channel_data_type_size()
192 { CL_HALF_FLOAT, "CL_HALF_FLOAT" }, in get_channel_type_from_name()
261 case CL_HALF_FLOAT: in is_format_signed()
285 case CL_HALF_FLOAT: in get_pixel_size()
998 case CL_HALF_FLOAT: return 1 << 10; in get_format_max_int()
1030 case CL_HALF_FLOAT: return -(1 << 10); in get_format_min_int()
1395 case CL_HALF_FLOAT: { in read_image_pixel_float()
2609 case CL_HALF_FLOAT: { in pack_image_pixel()
2783 case CL_HALF_FLOAT: { in pack_image_pixel_error()
2993 cl_image_format fmt = { CL_RGBA, CL_HALF_FLOAT }; in DetectFloatToHalfRoundingMode()
[all …]
DerrorHelpers.cpp196 case CL_HALF_FLOAT: return "CL_HALF_FLOAT"; in GetChannelTypeName()
224 case CL_HALF_FLOAT: in IsChannelTypeSupported()
DimageHelpers.h318 case CL_HALF_FLOAT: { in read_image_pixel()
/external/OpenCL-CTS/test_conformance/images/
Dcommon.cpp37 CL_HALF_FLOAT,
/external/OpenCL-CTS/test_conformance/extensions/cl_khr_dx9_media_sharing/
Dutils.cpp647 case CL_HALF_FLOAT: { in DataGenerate()
840 case CL_HALF_FLOAT: { in DataCompare()
1447 format.image_channel_data_type = CL_HALF_FLOAT; in SurfaceFormatToOCL()
1467 format.image_channel_data_type = CL_HALF_FLOAT; in SurfaceFormatToOCL()
1483 format.image_channel_data_type = CL_HALF_FLOAT; in SurfaceFormatToOCL()
Dtest_other_data_types.cpp136 if (format.image_channel_data_type == CL_HALF_FLOAT) in other_data_types()
/external/OpenCL-CTS/test_conformance/images/samplerlessReads/
Dtest_read_1D_buffer.cpp192 case CL_HALF_FLOAT: in test_read_image_set_1D_buffer()
/external/OpenCL-CTS/test_conformance/images/clFillImage/
Dtest_fill_generic.cpp325 if (imageInfo->format->image_channel_data_type == CL_HALF_FLOAT) in test_fill_image_generic()

12