GpuResource.h 718 字节
Newer Older
W
wxyu 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
/*******************************************************************************
 * Copyright 上海赜睿信息科技有限公司(Zilliz) - All Rights Reserved
 * Unauthorized copying of this file, via any medium is strictly prohibited.
 * Proprietary and confidential.
 ******************************************************************************/
#pragma once


#include "Resource.h"


namespace zilliz {
namespace milvus {
namespace engine {

class GpuResource : public Resource {
W
wxyu 已提交
17 18 19 20 21 22 23 24 25 26 27
public:
    explicit
    GpuResource(std::string name)
        : Resource(std::move(name), ResourceType::GPU) {}

protected:
    void
    LoadFile(TaskPtr task) override {}

    void
    Process(TaskPtr task) override {}
W
wxyu 已提交
28 29 30 31 32
};

}
}
}