Added baseline functionality including new memory models
This commit is contained in:
parent
9aae5d69db
commit
635fdb02be
22 changed files with 283 additions and 1919 deletions
|
|
@ -4,14 +4,11 @@
|
|||
|
||||
namespace kp {
|
||||
|
||||
OpAlgoDispatch::OpAlgoDispatch(std::vector<std::shared_ptr<Tensor>> tensors,
|
||||
std::shared_ptr<Algorithm> algorithm)
|
||||
: OpBase(tensors, algorithm)
|
||||
OpAlgoDispatch::OpAlgoDispatch(const std::vector<std::shared_ptr<Tensor>>& tensors,
|
||||
const std::shared_ptr<kp::Algorithm>& algorithm)
|
||||
{
|
||||
KP_LOG_DEBUG("Kompute OpAlgoDispatch constructor");
|
||||
|
||||
this->mManagesAlgorithm = false;
|
||||
this->mManagesTensors = false;
|
||||
}
|
||||
|
||||
OpAlgoDispatch::~OpAlgoDispatch()
|
||||
|
|
@ -19,13 +16,6 @@ OpAlgoDispatch::~OpAlgoDispatch()
|
|||
KP_LOG_DEBUG("Kompute OpAlgoDispatch destructor started");
|
||||
}
|
||||
|
||||
void
|
||||
OpAlgoDispatch::init(std::shared_ptr<vk::PhysicalDevice> physicalDevice,
|
||||
std::shared_ptr<vk::Device> device)
|
||||
{
|
||||
KP_LOG_DEBUG("Kompute OpAlgoDispatch init called");
|
||||
}
|
||||
|
||||
void
|
||||
OpAlgoDispatch::record(std::shared_ptr<vk::CommandBuffer> commandBuffer)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue