Created base for opcreatetensor

This commit is contained in:
Alejandro Saucedo 2020-08-17 07:56:05 +01:00
parent 52ec836de8
commit 49b436f490
5 changed files with 60 additions and 6 deletions

35
src/OpCreateTensor.hpp Normal file
View file

@ -0,0 +1,35 @@
#pragma once
#include <vulkan/vulkan.h>
#include <vulkan/vulkan.hpp>
// SPDLOG_ACTIVE_LEVEL must be defined before spdlog.h import
#if DEBUG
#define SPDLOG_ACTIVE_LEVEL SPDLOG_LEVEL_DEBUG
#endif
#include <spdlog/spdlog.h>
#include "BaseOp.hpp"
namespace kp {
class OpCreateTensor: BaseOp
{
private:
public:
OpCreateTensor();
OpCreateTensor(std::shared_ptr<vk::CommandBuffer> commandBuffer);
~OpCreateTensor();
private:
std::shared_ptr<vk::CommandBuffer> mCommandBuffer;
};
} // End namespace kp