Home
last modified time | relevance | path

Searched refs:FloatToHalf (Results 1 – 8 of 8) sorted by relevance

/third_party/flutter/skia/docs/examples/
DColor_Type_RGBA_F16.cpp10 uint16_t FloatToHalf(float f) { in FloatToHalf() function
32 return FloatToHalf(c); in draw()
/third_party/skia/docs/examples/
DColor_Type_RGBA_F16.cpp10 uint16_t FloatToHalf(float f) { in FloatToHalf() function
32 return FloatToHalf(c); in draw()
/third_party/vk-gl-cts/external/openglcts/modules/gles31/
Des31cVertexAttribBindingTests.cpp236 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/
Dconvert_tensor_utils.h27 void FloatToHalf(void *dst, const void *src, size_t elem_num);
Dconvert_tensor_utils.cc32 void FloatToHalf(void *dst, const void *src, size_t elem_num) { in FloatToHalf() function
/third_party/mindspore/mindspore/ccsrc/runtime/device/cpu/
Dcpu_device_address.cc86 FloatToHalf(host_ptr, ptr_, size >> 1); in SyncDeviceToHost()
/third_party/mindspore/mindspore/ccsrc/runtime/device/ascend/
Dascend_device_address.cc123 FloatToHalf(half_data.data(), src, elem_num); in FloatToHalfAndSyncHostToDevice()
/third_party/mindspore/mindspore/ccsrc/common/
Dtrans.cc204 device::FloatToHalf(dst, args.data, data_size); in CastKernel()