Home
last modified time | relevance | path

Searched refs:count_per_thread (Results 1 – 5 of 5) sorted by relevance

/third_party/mindspore/mindspore/lite/src/runtime/kernel/arm/fp16/
Daddn_fp16.cc45 int count_per_thread = UP_DIV(elements_num_, op_parameter_->thread_num_); in AddNParallelRun() local
46 int count = MSMIN(count_per_thread, elements_num_ - thread_id * count_per_thread); in AddNParallelRun()
47 auto stride = count_per_thread * thread_id; in AddNParallelRun()
/third_party/mindspore/mindspore/lite/src/runtime/kernel/arm/fp32/
Daddn_fp32.cc49 int count_per_thread = UP_DIV(elements_num_, op_parameter_->thread_num_); in AddNParallelRun() local
50 int count = MSMIN(count_per_thread, elements_num_ - thread_id * count_per_thread); in AddNParallelRun()
51 auto stride = count_per_thread * thread_id; in AddNParallelRun()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/fp32/
Dcrop_fp32.c50 size_t count_per_thread = UP_DIV(out_shape1, crop_param->op_parameter_.thread_num_); in Crop4D() local
51 size_t thread_stride = thread_id * count_per_thread; in Crop4D()
55 for (size_t j = 0; j < count_per_thread; ++j) { in Crop4D()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/int8/
Dslice_int8.c35 int count_per_thread = UP_DIV(param->size_[5], param->op_parameter_.thread_num_); in SliceInt8() local
36 size_t thread_begin = thread_id * count_per_thread; in SliceInt8()
37 size_t thread_end = MSMIN(param->size_[5], thread_begin + count_per_thread); in SliceInt8()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/base/
Dslice_base.c56 int count_per_thread = UP_DIV(param->size_[5], param->op_parameter_.thread_num_); in DoSlice() local
57 int thread_begin = thread_id * count_per_thread; in DoSlice()
58 int thread_end = MSMIN(param->size_[5], thread_begin + count_per_thread); in DoSlice()