Added base documentation generated from doxyen and sphinx

This commit is contained in:
Alejandro Saucedo 2020-08-28 07:52:03 +01:00
parent 4e2ef636c9
commit bac190632b
15 changed files with 2812 additions and 5 deletions

View file

@ -6,10 +6,16 @@
namespace kp {
/**
Base orchestrator which creates and manages device and child components
*/
class Manager
{
private:
public:
/**
Constructor
*/
Manager();
Manager(std::shared_ptr<vk::Instance> instance,

View file

@ -6,10 +6,16 @@
namespace kp {
/**
Base Operation
*/
class OpBase
{
private:
public:
/**
Constructor
*/
OpBase() { SPDLOG_DEBUG("Compute OpBase base constructor"); }
OpBase(std::shared_ptr<vk::PhysicalDevice> physicalDevice,
@ -23,7 +29,9 @@ class OpBase
this->mCommandBuffer = commandBuffer;
}
~OpBase() { SPDLOG_DEBUG("Compute OpBase destructor started"); }
~OpBase() {
SPDLOG_DEBUG("Compute OpBase destructor started");
}
virtual void init(std::vector<std::shared_ptr<Tensor>> tensors)
{

View file

@ -13,10 +13,16 @@
namespace kp {
/**
Base algorithm based operation
*/
template<uint32_t tX = 0, uint32_t tY = 0, uint32_t tZ = 0>
class OpMult : public OpBase
{
public:
/**
Constructor
*/
OpMult();
OpMult(std::shared_ptr<vk::PhysicalDevice> physicalDevice,

View file

@ -6,9 +6,15 @@
namespace kp {
/**
Container of operations that can be sent to GPU as batch
*/
class Sequence
{
public:
/**
Constructor
*/
Sequence();
Sequence(std::shared_ptr<vk::PhysicalDevice> physicalDevice,
std::shared_ptr<vk::Device> device,