Home
last modified time | relevance | path

Searched refs:kMaxThreadCount (Results 1 – 2 of 2) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/minddata/mindrecord/include/common/
Dshard_utils.h115 const int kMaxThreadCount = 32; variable
/third_party/mindspore/mindspore/ccsrc/minddata/mindrecord/io/
Dshard_writer.cc350 if (thread_num > kMaxThreadCount) { in CheckData()
351 thread_num = kMaxThreadCount; in CheckData()
369 thread_num <= kMaxThreadCount, in CheckData()
370 … "Invalid data, thread_num should be less than or equal to " + std::to_string(kMaxThreadCount)); in CheckData()
660 if (thread_num > kMaxThreadCount) { in ParallelWriteData()
661 thread_num = kMaxThreadCount; in ParallelWriteData()
671 if (thread_num <= kMaxThreadCount) { in ParallelWriteData()