提交 f8b9091f 编写于 作者: Y Yu Kun

clang tidy


Former-commit-id: 1d226a67672476b82957e27e60839283259d7159
上级 5111bc05
......@@ -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.
先完成此消息的编辑!
想要评论请 注册