"host/online_compile/hip_utility/logger.cpp" did not exist on "1685048a6725e531b577510295d2d62664c15962"
  • Charlie Lin's avatar
    Split single dynamic dimension compiler pass (#1580) · e9e3eacc
    Charlie Lin authored
    Adds a new GPU compiler pass split_single_dyn_dim that handles when one input parameter has a single non-fixed dynamic_dimension.
    commonly occurs for dynamic batch or BERT sequence length
    Splits the dynamic shape into several submodules will static input parameters to handle all of the cases in the dynamic_dimension range.
    Essentially does what I manually did for the select_module verify tests
    Adds a compile option split_single_dyn_dim that toggles the pass on/off. Defaults to false.
    Updates verify_program.hpp and run_verify.cpp to allow for the tests to change the compile_options
    e9e3eacc
split_single_dyn_dim_test.cpp 7.22 KB