Skip to content

Commit

Permalink
Fix quantizer macros.
Browse files Browse the repository at this point in the history
  • Loading branch information
joaquinffernandez committed Aug 27, 2024
1 parent 91013b4 commit 4ad169d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/engine/qss/qss_quantizer.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@
quantizer->ops->updateQuantizedState = module##_updateQuantizedState;

#ifdef QSS_PARALLEL
#define QSS_ASSIGN_QUANTIZER_OPS(module) QSS_DEFINE_QUANTIZER_OPS(module##_PAR)
#define QSS_ASSIGN_QUANTIZER_OPS(module) \
quantizer->state->qMap = simData->lp->qMap; \
QSS_DEFINE_QUANTIZER_OPS(module##_PAR)
#else
#define QSS_ASSIGN_QUANTIZER_OPS(module) QSS_DEFINE_QUANTIZER_OPS(module)
#endif
Expand Down

0 comments on commit 4ad169d

Please sign in to comment.