GpuResource.h 657 字节
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
public:
    explicit
X
xj.lin 已提交
19
    GpuResource(std::string name);
W
wxyu 已提交
20 21 22

protected:
    void
X
xj.lin 已提交
23
    LoadFile(TaskPtr task) override;
W
wxyu 已提交
24 25

    void
X
xj.lin 已提交
26
    Process(TaskPtr task) override;
W
wxyu 已提交
27 28 29 30 31
};

}
}
}