mirror of https://github.com/milvus-io/milvus.git
parent
5111bc05d7
commit
f8b9091f41
|
@ -161,7 +161,6 @@ ExecutionEngineImpl::Load(bool to_cache) {
|
|||
|
||||
Status
|
||||
ExecutionEngineImpl::CopyToGpu(uint64_t device_id) {
|
||||
std::cout << "copytogpu" << std::endl;
|
||||
auto index = cache::GpuCacheMgr::GetInstance(device_id)->GetIndex(location_);
|
||||
bool already_in_cache = (index != nullptr);
|
||||
if (already_in_cache) {
|
||||
|
|
|
@ -15,8 +15,8 @@
|
|||
// specific language governing permissions and limitations
|
||||
// under the License.
|
||||
|
||||
#include "utils/Log.h"
|
||||
#include "BuildIndexJob.h"
|
||||
#include "utils/Log.h"
|
||||
|
||||
namespace milvus {
|
||||
namespace scheduler {
|
||||
|
|
|
@ -15,6 +15,7 @@
|
|||
// specific language governing permissions and limitations
|
||||
// under the License.
|
||||
|
||||
|
||||
#include "BuildIndexTask.h"
|
||||
#include "db/engine/EngineFactory.h"
|
||||
#include "metrics/Metrics.h"
|
||||
|
|
Loading…
Reference in New Issue