• Amy Zhuang's avatar
    Migrate PR#3638 from master. (#3735) · c1f3beea
    Amy Zhuang authored
    * 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.
    c1f3beea
cpu_cg_runtime_context.hpp 14.9 KB