Home
last modified time | relevance | path

Searched refs:SizetMulWithOverflowCheck (Results 1 – 4 of 4) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/rts/
Dmemcpy_async.cc98 total_size = SizetMulWithOverflowCheck(total_size, shape_i[i]); in GetInputOutputTotalCount()
100 total_size = SizetMulWithOverflowCheck(total_size, type_size); in GetInputOutputTotalCount()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/hccl/
Dhcom_util.cc97 tmp_size = SizetMulWithOverflowCheck(tmp_size, shape[i]); in GetHcclOpSize()
104 *size = SizetMulWithOverflowCheck(tmp_size, type_size); in GetHcclOpSize()
/third_party/mindspore/mindspore/core/utils/
Dconvert_utils_base.h169 inline size_t SizetMulWithOverflowCheck(size_t a, size_t b) { in SizetMulWithOverflowCheck() function
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/
Dcommon_utils.cc966 return SizetMulWithOverflowCheck(LongToSize(stop[i] - start[i]), LongToSize(dim_offset[i])); in GetCopySize()
988 offset += SizetMulWithOverflowCheck(LongToSize(dim_offset[i]), LongToSize(start[i])); in CalOffset()