Updated single include
This commit is contained in:
parent
f507439eb7
commit
bf86daa3ef
1 changed files with 6 additions and 11 deletions
|
|
@ -1717,11 +1717,6 @@ namespace kp {
|
|||
class OpAlgoBase : public OpBase
|
||||
{
|
||||
public:
|
||||
struct KomputeWorkgroup {
|
||||
uint32_t x;
|
||||
uint32_t y;
|
||||
uint32_t z;
|
||||
};
|
||||
|
||||
/**
|
||||
* Base constructor, should not be used unless explicitly intended.
|
||||
|
|
@ -1744,7 +1739,7 @@ class OpAlgoBase : public OpBase
|
|||
std::shared_ptr<vk::Device> device,
|
||||
std::shared_ptr<vk::CommandBuffer> commandBuffer,
|
||||
std::vector<std::shared_ptr<Tensor>>& tensors,
|
||||
KomputeWorkgroup komputeWorkgroup = {},
|
||||
const std::array<uint32_t, 3>& komputeWorkgroup = {},
|
||||
const std::vector<float>& specializationConstants = {});
|
||||
|
||||
/**
|
||||
|
|
@ -1764,7 +1759,7 @@ class OpAlgoBase : public OpBase
|
|||
std::shared_ptr<vk::CommandBuffer> commandBuffer,
|
||||
std::vector<std::shared_ptr<Tensor>>& tensors,
|
||||
std::string shaderFilePath,
|
||||
KomputeWorkgroup komputeWorkgroup = {},
|
||||
const std::array<uint32_t, 3>& komputeWorkgroup = {},
|
||||
const std::vector<float>& specializationConstants = {});
|
||||
|
||||
/**
|
||||
|
|
@ -1783,7 +1778,7 @@ class OpAlgoBase : public OpBase
|
|||
std::shared_ptr<vk::CommandBuffer> commandBuffer,
|
||||
std::vector<std::shared_ptr<Tensor>>& tensors,
|
||||
const std::vector<char>& shaderDataRaw,
|
||||
KomputeWorkgroup komputeWorkgroup = {},
|
||||
const std::array<uint32_t, 3>& komputeWorkgroup = {},
|
||||
const std::vector<float>& specializationConstants = {});
|
||||
|
||||
/**
|
||||
|
|
@ -1831,7 +1826,7 @@ class OpAlgoBase : public OpBase
|
|||
|
||||
// -------------- ALWAYS OWNED RESOURCES
|
||||
|
||||
KomputeWorkgroup mKomputeWorkgroup;
|
||||
std::array<uint32_t, 3> mKomputeWorkgroup;
|
||||
|
||||
std::string mShaderFilePath; ///< Optional member variable which can be provided for the OpAlgoBase to find the data automatically and load for processing
|
||||
std::vector<char> mShaderDataRaw; ///< Optional member variable which can be provided to contain either the raw shader content or the spirv binary content
|
||||
|
|
@ -1874,7 +1869,7 @@ class OpAlgoLhsRhsOut : public OpAlgoBase
|
|||
std::shared_ptr<vk::Device> device,
|
||||
std::shared_ptr<vk::CommandBuffer> commandBuffer,
|
||||
std::vector<std::shared_ptr<Tensor>> tensors,
|
||||
KomputeWorkgroup komputeWorkgroup = KomputeWorkgroup());
|
||||
const std::array<uint32_t, 3>& komputeWorkgroup = {});
|
||||
|
||||
/**
|
||||
* Default destructor, which is in charge of destroying the algorithm
|
||||
|
|
@ -1953,7 +1948,7 @@ class OpMult : public OpAlgoBase
|
|||
std::shared_ptr<vk::Device> device,
|
||||
std::shared_ptr<vk::CommandBuffer> commandBuffer,
|
||||
std::vector<std::shared_ptr<Tensor>> tensors,
|
||||
KomputeWorkgroup komputeWorkgroup = KomputeWorkgroup())
|
||||
const std::array<uint32_t, 3>& komputeWorkgroup = {})
|
||||
: OpAlgoBase(physicalDevice, device, commandBuffer, tensors, "", komputeWorkgroup)
|
||||
{
|
||||
SPDLOG_DEBUG("Kompute OpMult constructor with params");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue