Working end to end example
This commit is contained in:
parent
7c3af1189f
commit
b11a54911d
5 changed files with 31 additions and 10 deletions
|
|
@ -37,8 +37,13 @@ class OpBase
|
|||
SPDLOG_DEBUG("Compute OpBase destructor started");
|
||||
}
|
||||
|
||||
virtual void init(std::shared_ptr<Tensor> tensor, ...) = 0;
|
||||
virtual void record() = 0;
|
||||
virtual void init(std::shared_ptr<Tensor> tensor, ...) {
|
||||
SPDLOG_DEBUG("Kompute OpBase init called");
|
||||
}
|
||||
|
||||
virtual void record() {
|
||||
SPDLOG_DEBUG("Kompute OpBase record called");
|
||||
}
|
||||
|
||||
protected:
|
||||
std::shared_ptr<vk::PhysicalDevice> mPhysicalDevice;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue