1. 03 Apr, 2023 1 commit
    • Charlie Lin's avatar
      promote_literals pass (#1593) · e3fb3a0d
      Charlie Lin authored
      Adds the promote_literals compiler pass that moves literals from the submodules to the main module.
      With the eliminate_common_subexpression pass, it will remove copies of literals created during split_single_dyn_dim.
      Pass is enabled with the split_single_dyn_dim compile option.
      e3fb3a0d
  2. 01 Apr, 2023 1 commit
  3. 31 Mar, 2023 1 commit
    • 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
  4. 30 Mar, 2023 1 commit
  5. 29 Mar, 2023 1 commit
  6. 28 Mar, 2023 1 commit
  7. 27 Mar, 2023 1 commit
  8. 25 Mar, 2023 1 commit
  9. 22 Mar, 2023 1 commit
  10. 21 Mar, 2023 2 commits
    • Charlie Lin's avatar
      select_module refactor (#1615) · 94a7f6ee
      Charlie Lin authored
      Refactor to have select_module use output parameters
      Disable select_module verify tests on cpu
      94a7f6ee
    • Umang Yadav's avatar
      Fix default target in driver (#1635) · 11e2451f
      Umang Yadav authored
      Recent changes #1608 removed migraphx_all_target lib from driver and that led to missing compile time definitions.
      Missing compile definitions led to change of default target in driver.
      11e2451f
  11. 18 Mar, 2023 1 commit
  12. 17 Mar, 2023 1 commit
  13. 13 Mar, 2023 2 commits
  14. 10 Mar, 2023 2 commits
  15. 09 Mar, 2023 1 commit
  16. 07 Mar, 2023 1 commit
  17. 04 Mar, 2023 1 commit
  18. 01 Mar, 2023 1 commit
  19. 28 Feb, 2023 1 commit
    • Charlie Lin's avatar
      Select module op (#1569) · a63ee2e0
      Charlie Lin authored
      Creates the select_module operator that selects one of the submodules passed to it to run based on the submodule parameters.  The submodule is selected by having the exact same static shapes for the arguments to select_module as the parameters in the submodule
      a63ee2e0
  20. 23 Feb, 2023 1 commit
  21. 16 Feb, 2023 3 commits
  22. 15 Feb, 2023 1 commit
    • Brian Pickrell's avatar
      Dyn slice (#1503) · 102c6bdb
      Brian Pickrell authored
      Add dynamic shape support to slice operator.
      
      First draft of this feature doesn't support ops slicing non-fixed, dynamic axes. Resulting shape in such cases is not guaranteed.* Also, onnx parsing doesn't support any arguments other than "axes".
      102c6bdb
  23. 14 Feb, 2023 3 commits
  24. 13 Feb, 2023 1 commit
  25. 11 Feb, 2023 1 commit
  26. 10 Feb, 2023 2 commits
  27. 06 Feb, 2023 1 commit
  28. 03 Feb, 2023 2 commits
  29. 02 Feb, 2023 1 commit
  30. 01 Feb, 2023 1 commit
    • Ted Themistokleous's avatar
      Parse if inline constant args (#1533) · ca15cd37
      Ted Themistokleous authored
      Allows migraphx to inline the IF operator when we run into an IF that can be evaluated at compile time, thus avoiding us injecting IF and just inserting the instructions directly.
      ca15cd37
  31. 31 Jan, 2023 1 commit