From 0820af8ea977da6da5094b47e4d7ac92bf01b6ba Mon Sep 17 00:00:00 2001 From: avoraTT Date: Wed, 13 Nov 2024 08:23:14 -0800 Subject: [PATCH] Add support for the dst_full_sync_en flag in the WormholeComputeKernelConfig pybind. --- ttnn/cpp/pybind11/operations/core.hpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/ttnn/cpp/pybind11/operations/core.hpp b/ttnn/cpp/pybind11/operations/core.hpp index da09729749a..85fdfc183c6 100644 --- a/ttnn/cpp/pybind11/operations/core.hpp +++ b/ttnn/cpp/pybind11/operations/core.hpp @@ -31,16 +31,18 @@ void py_module_types(py::module& module) { py::class_(module, "WormholeComputeKernelConfig") .def( - py::init(), + py::init(), py::kw_only(), py::arg("math_fidelity") = MathFidelity::Invalid, py::arg("math_approx_mode") = true, py::arg("fp32_dest_acc_en") = false, - py::arg("packer_l1_acc") = false) + py::arg("packer_l1_acc") = false, + py::arg("dst_full_sync_en") = false) .def_readwrite("math_fidelity", &WormholeComputeKernelConfig::math_fidelity) .def_readwrite("math_approx_mode", &WormholeComputeKernelConfig::math_approx_mode) .def_readwrite("fp32_dest_acc_en", &WormholeComputeKernelConfig::fp32_dest_acc_en) - .def_readwrite("packer_l1_acc", &WormholeComputeKernelConfig::packer_l1_acc); + .def_readwrite("packer_l1_acc", &WormholeComputeKernelConfig::packer_l1_acc) + .def_readwrite("dst_full_sync_en", &WormholeComputeKernelConfig::dst_full_sync_en); } void py_module(py::module& module) {