Migrate PR#3638 from master. (#3735)
* Check size requirement before creating scratchpad. * Check max scratchpad size before allocating scratchpad_buffer. * Add the same checks for CODEGEN. * Fix unused-parameter warning. * Fix a typo. * Address PR feedback. * Fix a bug. * Fix a typo.
Showing
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Please
register
or
sign in
to comment