Created base for opcreatetensor
This commit is contained in:
parent
52ec836de8
commit
49b436f490
5 changed files with 60 additions and 6 deletions
35
src/OpCreateTensor.hpp
Normal file
35
src/OpCreateTensor.hpp
Normal 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
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue