提交 22371d4c 编写于 作者: Y Yu Kun

clang tidy


Former-commit-id: 43357fb16dbee83ccc2d6f8dbc4bb453c1160ed2
上级 bfba536e
......@@ -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"
......
......@@ -44,4 +44,4 @@ class XBuildIndexTask : public Task {
};
} // namespace scheduler
} // namespace milvus
\ No newline at end of file
} // namespace milvus
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册