Skip to content

Commit

Permalink
#3580: document cb funcs
Browse files Browse the repository at this point in the history
  • Loading branch information
ntarafdar committed Nov 21, 2023
1 parent 36a571b commit 64d742f
Show file tree
Hide file tree
Showing 6 changed files with 33 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
binary_init_funcs
=================


.. doxygenfunction:: binary_op_init_common(uint32_t icb0, uint32_t icb1)
.. doxygenfunction:: binary_op_specific_init(int op_code)
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@


cb_pop_front
============

.. doxygenfunction:: cb_pop_front(uint32_t cbid, uint32_t ntiles)
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@


cb_push_back
=============

.. doxygenfunction:: cb_push_back(uint32_t cbid, uint32_t ntiles)
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@


cb_reserve_back
===============

.. doxygenfunction:: cb_reserve_back(uint32_t cbid, uint32_t ntiles)
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@


cb_wait_front
=============

.. doxygenfunction:: cb_wait_front(uint32_t cbid, uint32_t ntiles)
3 changes: 3 additions & 0 deletions tt_metal/include/compute_kernel_api/pack.h
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,9 @@ ALWI void pack_reconfig_data_format(const uint32_t new_operand) {
// NOTE: For wormhole_b0, packer data format reconfig functions don;t yet exist. So skip.
}

/**
* Helper function to reconfigure packer output data format.
*/
ALWI void pack_reconfig_data_format(const uint32_t old_operand, const uint32_t new_operand) {
#ifdef ARCH_GRAYSKULL
PACK(( llk_pack_reconfig_data_format(old_operand, new_operand) ));
Expand Down

0 comments on commit 64d742f

Please sign in to comment.