Home
last modified time | relevance | path

Searched refs:bucket_id (Results 1 – 12 of 12) sorted by relevance

/third_party/boost/boost/pending/
Dbucket_sorter.hpp98 : bucket_id(_bucket_id), head(h), next(n), prev(p), value(v), id(_id) in stack()
105 : bucket_id(_bucket_id), head(h), next(n), prev(p), value(v) in stack()
112 const size_type current = head[bucket_id]; in push()
117 head[bucket_id] = new_head; in push()
121 size_type current = head[bucket_id]; in pop()
123 head[bucket_id] = next_node; in pop()
127 value_type& top() { return value[head[bucket_id]]; } in top()
128 const value_type& top() const { return value[head[bucket_id]]; } in top()
129 bool empty() const { return head[bucket_id] == invalid_value(); } in empty()
132 bucket_type bucket_id; member in boost::bucket_sorter::stack
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/
Dunique_cpu_kernel.h85 auto bucket_id = BucketId(params->input_[i], bucket_num); in CalculateEachBucketSize() local
86 each_bucket_size->at(bucket_id)++; in CalculateEachBucketSize()
148 auto bucket_id = BucketId(data, segment->thread_num_); in SegmentToBuckets() local
149 auto bucket_index = bucket_data_num[bucket_id]; in SegmentToBuckets()
150 if (bucket_id >= bucket_size) { in SegmentToBuckets()
154 auto &bucket = buckets[bucket_id]; in SegmentToBuckets()
162 bucket_data_num[bucket_id]++; in SegmentToBuckets()
Dsparse_optimizer_cpu_kernel.h156 auto bucket_id = index % bucket_num; in CalculateEachBucketSize() local
157 each_bucket_size->at(bucket_id)++; in CalculateEachBucketSize()
217 auto bucket_id = index % param.thread_num_; in CopySegmentIndicesToBucket() local
218 auto bucket_index = bucket_data_num[bucket_id]; in CopySegmentIndicesToBucket()
219 buckets[bucket_id]->indices_[bucket_index] = index; in CopySegmentIndicesToBucket()
220 buckets[bucket_id]->global_indices_[bucket_index] = bucket_offset + i; in CopySegmentIndicesToBucket()
221 bucket_data_num[bucket_id]++; in CopySegmentIndicesToBucket()
/third_party/mindspore/mindspore/ccsrc/runtime/hardware/
Ddevice_context.h118 …virtual std::shared_ptr<Bucket> CreateBucket(uint32_t bucket_id, uint32_t bucket_size) const { ret… in CreateBucket() argument
/third_party/mindspore/mindspore/ccsrc/runtime/hardware/gpu/
Dgpu_device_context.h72 std::shared_ptr<Bucket> CreateBucket(uint32_t bucket_id, uint32_t bucket_size) const override;
Dgpu_device_context.cc509 std::shared_ptr<Bucket> GPUDeviceContext::CreateBucket(uint32_t bucket_id, uint32_t bucket_size) co… in CreateBucket() argument
510 auto bucket = std::make_shared<GPUBucket>(bucket_id, bucket_size); in CreateBucket()
/third_party/mindspore/mindspore/ccsrc/backend/session/
Dgpu_session.h56 std::shared_ptr<device::Bucket> CreateBucket(uint32_t bucket_id, uint32_t bucket_size) override;
Dascend_session.h158 std::shared_ptr<device::Bucket> CreateBucket(uint32_t bucket_id, uint32_t bucket_size) override;
Dgpu_session.cc737 std::shared_ptr<device::Bucket> GPUSession::CreateBucket(uint32_t bucket_id, uint32_t bucket_size) { in CreateBucket() argument
738 auto bucket = std::make_shared<device::gpu::GPUBucket>(bucket_id, bucket_size); in CreateBucket()
Dsession_basic.h303 …virtual std::shared_ptr<device::Bucket> CreateBucket(uint32_t bucket_id, uint32_t bucket_size) { r… in CreateBucket() argument
Dsession_basic.cc2487 uint32_t bucket_id = 0; in InitAllBucket() local
2489 MS_LOG(INFO) << "Create new bucket:" << bucket_id << " size:" << bucket_size; in InitAllBucket()
2492 bucket = device_context->CreateBucket(bucket_id++, bucket_size); in InitAllBucket()
2494 bucket = CreateBucket(bucket_id++, bucket_size); in InitAllBucket()
Dascend_session.cc1942 std::shared_ptr<device::Bucket> AscendSession::CreateBucket(uint32_t bucket_id, uint32_t bucket_siz… in CreateBucket() argument
1943 auto bucket = std::make_shared<device::ascend::AscendBucket>(bucket_id, bucket_size); in CreateBucket()