Updated algo python
Signed-off-by: Alejandro Saucedo <axsauze@gmail.com>
This commit is contained in:
parent
932620091c
commit
c758ec0c20
2 changed files with 2 additions and 2 deletions
|
|
@ -220,7 +220,7 @@ PYBIND11_MODULE(kp, m) {
|
|||
py::arg("workgroup") = kp::Workgroup(),
|
||||
py::arg("spec_consts") = std::vector<float>(),
|
||||
py::arg("push_consts") = std::vector<float>())
|
||||
.def("algorithm_t", [np](kp::Manager& self,
|
||||
.def("algorithm", [np](kp::Manager& self,
|
||||
const std::vector<std::shared_ptr<kp::Tensor>>& tensors,
|
||||
const py::bytes& spirv,
|
||||
const kp::Workgroup& workgroup,
|
||||
|
|
|
|||
|
|
@ -229,7 +229,7 @@ def test_pushconsts_int():
|
|||
spec_consts = np.array([], dtype=np.int32)
|
||||
push_consts = np.array([-1, -1, -1], dtype=np.int32)
|
||||
|
||||
algo = mgr.algorithm_t([tensor], spirv, (1, 1, 1), spec_consts, push_consts)
|
||||
algo = mgr.algorithm([tensor], spirv, (1, 1, 1), spec_consts, push_consts)
|
||||
|
||||
(mgr.sequence()
|
||||
.record(kp.OpTensorSyncDevice([tensor]))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue