mirror of https://github.com/milvus-io/milvus.git
MS-416 ExecutionEngineImpl::GpuCache has not return value cause crash
Former-commit-id: 298969de85a0a8cb4a4e48da21d45fde30df64d1pull/191/head
parent
14b2254060
commit
2e8f018e40
|
@ -7,6 +7,7 @@ Please mark all change in change log and use the ticket from JIRA.
|
||||||
## Bug
|
## Bug
|
||||||
- MS-411 - Fix metric unittest linking error
|
- MS-411 - Fix metric unittest linking error
|
||||||
- MS-412 - Fix gpu cache logical error
|
- MS-412 - Fix gpu cache logical error
|
||||||
|
- MS-416 - ExecutionEngineImpl::GpuCache has not return value cause crash
|
||||||
|
|
||||||
## Improvement
|
## Improvement
|
||||||
- MS-327 - Clean code for milvus
|
- MS-327 - Clean code for milvus
|
||||||
|
|
|
@ -273,6 +273,8 @@ Status ExecutionEngineImpl::Cache() {
|
||||||
|
|
||||||
Status ExecutionEngineImpl::GpuCache(uint64_t gpu_id) {
|
Status ExecutionEngineImpl::GpuCache(uint64_t gpu_id) {
|
||||||
zilliz::milvus::cache::GpuCacheMgr::GetInstance(gpu_id)->InsertItem(location_, index_);
|
zilliz::milvus::cache::GpuCacheMgr::GetInstance(gpu_id)->InsertItem(location_, index_);
|
||||||
|
|
||||||
|
return Status::OK();
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO(linxj): remove.
|
// TODO(linxj): remove.
|
||||||
|
|
Loading…
Reference in New Issue