MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / GetUpdateSparseTaskQueue

Method GetUpdateSparseTaskQueue

serving/processor/storage/feature_store_mgr.cc:306–313  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

304}
305
306sparse_task_queue* AsyncFeatureStoreMgr::GetUpdateSparseTaskQueue(int idx) {
307 if (idx < 0 || idx >= update_thread_num_) {
308 LOG(FATAL) << "Error index num: " << idx
309 << ", update_thread_num is " << update_thread_num_;
310 }
311
312 return &(update_task_queues_[idx]);
313}
314
315bool AsyncFeatureStoreMgr::ShouldStop() {
316 return stop_;

Callers 2

TestThreadRunFunction · 0.80
ThreadRunFunction · 0.80

Calls

no outgoing calls

Tested by 1

TestThreadRunFunction · 0.64