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