Home
last modified time | relevance | path

Searched refs:ConvertSameType (Results 1 – 3 of 3) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/runtime/device/
Dconvert_tensor_utils.cc109 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()
Dconvert_tensor_utils.h34 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/
Dcpu_device_address.cc78 ConvertSameType(host_ptr, ptr_, size, type); in SyncDeviceToHost()