Skip to content

Commit

Permalink
Gate WATCHER_NO_INLINE w/ WATCHER_ENABLED
Browse files Browse the repository at this point in the history
  • Loading branch information
pgkeller committed Jan 22, 2025
1 parent 375530a commit a02c64b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tt_metal/hw/inc/risc_attribs.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ inline __attribute__((always_inline)) uint64_t tt_l1_load(volatile tt_uint64_t*

// In certain cases enabling watcher can cause the code size to be too large. Give an option to
// disable inlining if we need to.
#if defined(WATCHER_NOINLINE)
#if defined(WATCHER_ENABLED) && defined(WATCHER_NOINLINE)
#define FORCE_INLINE
#else
#define FORCE_INLINE inline __attribute__((always_inline))
Expand Down

0 comments on commit a02c64b

Please sign in to comment.