Searched refs:FloatToHalf (Results 1 – 8 of 8) sorted by relevance
/third_party/flutter/skia/docs/examples/ |
D | Color_Type_RGBA_F16.cpp | 10 uint16_t FloatToHalf(float f) { in FloatToHalf() function 32 return FloatToHalf(c); in draw()
|
/third_party/skia/docs/examples/ |
D | Color_Type_RGBA_F16.cpp | 10 uint16_t FloatToHalf(float f) { in FloatToHalf() function 32 return FloatToHalf(c); in draw()
|
/third_party/vk-gl-cts/external/openglcts/modules/gles31/ |
D | es31cVertexAttribBindingTests.cpp | 236 GLhalf FloatToHalf(float f) in FloatToHalf() function in glcts::__anon25eca6410111::VertexAttribBindingBase 776 GLhalf d[] = { FloatToHalf(0.0), FloatToHalf(100.0), FloatToHalf(200.0) }; in Run() 781 GLhalf d[] = { FloatToHalf(300.0), FloatToHalf(400.0) }; in Run() 883 GLhalf d[] = { FloatToHalf(0.0), FloatToHalf(10.0), FloatToHalf(20.0), FloatToHalf(0.0) }; in Run() 939 GLhalf d[] = { FloatToHalf(0.0), FloatToHalf(30.0), FloatToHalf(40.0), FloatToHalf(0.0) }; in Run() 1079 GLhalf d[] = { FloatToHalf(-18.0), FloatToHalf(19.0), FloatToHalf(-20.0), FloatToHalf(21.0) }; in Run() 1130 GLhalf d[] = { FloatToHalf(-50.0), FloatToHalf(51.0), FloatToHalf(-52.0), FloatToHalf(53.0) }; in Run()
|
/third_party/mindspore/mindspore/ccsrc/runtime/device/ |
D | convert_tensor_utils.h | 27 void FloatToHalf(void *dst, const void *src, size_t elem_num);
|
D | convert_tensor_utils.cc | 32 void FloatToHalf(void *dst, const void *src, size_t elem_num) { in FloatToHalf() function
|
/third_party/mindspore/mindspore/ccsrc/runtime/device/cpu/ |
D | cpu_device_address.cc | 86 FloatToHalf(host_ptr, ptr_, size >> 1); in SyncDeviceToHost()
|
/third_party/mindspore/mindspore/ccsrc/runtime/device/ascend/ |
D | ascend_device_address.cc | 123 FloatToHalf(half_data.data(), src, elem_num); in FloatToHalfAndSyncHostToDevice()
|
/third_party/mindspore/mindspore/ccsrc/common/ |
D | trans.cc | 204 device::FloatToHalf(dst, args.data, data_size); in CastKernel()
|