clang tidy

Former-commit-id: 1d226a67672476b82957e27e60839283259d7159
pull/191/head
Yu Kun 2019-10-10 10:15:00 +08:00
parent 5111bc05d7
commit f8b9091f41
4 changed files with 3 additions and 3 deletions

View File

@ -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) {

View File

@ -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 {

View File

@ -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"

View File

@ -44,4 +44,4 @@ class XBuildIndexTask : public Task {
}; };
} // namespace scheduler } // namespace scheduler
} // namespace milvus } // namespace milvus