Updated constants to be set as part of descriptor layout
This commit is contained in:
parent
9edbac4b94
commit
c211c22a78
7 changed files with 106 additions and 24 deletions
|
|
@ -361,13 +361,14 @@ std::shared_ptr<Algorithm>
|
|||
Manager::algorithm(const std::vector<std::shared_ptr<Tensor>>& tensors,
|
||||
const std::vector<uint32_t>& spirv,
|
||||
const Workgroup& workgroup,
|
||||
const Constants& specializationConstants)
|
||||
const Constants& specializationConstants,
|
||||
const Constants& pushConstants)
|
||||
{
|
||||
|
||||
KP_LOG_DEBUG("Kompute Manager algorithm creation triggered");
|
||||
|
||||
std::shared_ptr<Algorithm> algorithm{ new kp::Algorithm(
|
||||
this->mDevice, tensors, spirv, workgroup, specializationConstants) };
|
||||
this->mDevice, tensors, spirv, workgroup, specializationConstants, pushConstants) };
|
||||
|
||||
if (this->mManageResources) {
|
||||
this->mManagedAlgorithms.push_back(algorithm);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue