Searched refs:ConvertSameType (Results 1 – 3 of 3) sorted by relevance
/third_party/mindspore/mindspore/ccsrc/runtime/device/ |
D | convert_tensor_utils.cc | 109 void ConvertSameType(void *const dst, const void *src, size_t size, TypeId type) { in ConvertSameType() function 116 ConvertSameType(dst_data, src_data, size >> 1); in ConvertSameType() 120 ConvertSameType(dst_data, src_data, size / sizeof(float)); in ConvertSameType() 124 ConvertSameType(dst_data, src_data, size / sizeof(double)); in ConvertSameType() 128 ConvertSameType(dst_data, src_data, size >> 1); in ConvertSameType() 132 ConvertSameType(dst_data, src_data, size / sizeof(int)); in ConvertSameType() 136 ConvertSameType(dst_data, src_data, size / sizeof(int64_t)); in ConvertSameType()
|
D | convert_tensor_utils.h | 34 void ConvertSameType(void *const dst, const void *src, size_t size, TypeId type); 37 void ConvertSameType(T *dst, const T *src, size_t elem_num) { in ConvertSameType() function
|
/third_party/mindspore/mindspore/ccsrc/runtime/device/cpu/ |
D | cpu_device_address.cc | 78 ConvertSameType(host_ptr, ptr_, size, type); in SyncDeviceToHost()
|