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

Method GetSparseTaskQueue

serving/processor/storage/feature_store_mgr.cc:297–304  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

295}
296
297sparse_task_queue* AsyncFeatureStoreMgr::GetSparseTaskQueue(int idx) {
298 if (idx < 0 || idx >= thread_num_) {
299 LOG(FATAL) << "Error index num: " << idx
300 << ", thread_num is " << thread_num_;
301 }
302
303 return &(task_queues_[idx]);
304}
305
306sparse_task_queue* AsyncFeatureStoreMgr::GetUpdateSparseTaskQueue(int idx) {
307 if (idx < 0 || idx >= update_thread_num_) {

Callers 2

TestThreadRunFunction · 0.80
ThreadRunFunction · 0.80

Calls

no outgoing calls

Tested by 1

TestThreadRunFunction · 0.64