1. 09 Nov, 2023 1 commit
    • Krzysztof Drewniak's avatar
      [MLIR] Updates needed for general stride support · faef89ae
      Krzysztof Drewniak authored
      This is a companion PR to
      https://github.com/ROCmSoftwarePlatform/rocMLIR/pull/1312 .
      The updated commit hash points onto that PR branch, so coordinated
      merges are advised.
      
      With the above rocMLIR changes, the MLIR MIGraphX dialect now
      represents both the dimensions and strides of tensors inside MLIR,
      thus allowing NHWC convolutions to be correctly offloaded.
      
      In this PR, we:
      - Remove special handling for the case where non-standard shapes
      become input to MLIR modules
      - Fold broadcast and multibroadcast operations into the input size od
      MLIR modules
      - Update tests
      - Add an extra TRACE_MLIR print to help debug crashes in the
      high-level pipeline
      faef89ae
  2. 06 Oct, 2023 1 commit
  3. 27 Sep, 2023 2 commits
  4. 16 Sep, 2023 1 commit
  5. 11 Sep, 2023 1 commit
  6. 08 Sep, 2023 1 commit
  7. 05 Sep, 2023 1 commit
  8. 31 Aug, 2023 1 commit
  9. 11 Aug, 2023 1 commit
  10. 10 Aug, 2023 1 commit
  11. 08 Aug, 2023 1 commit
  12. 06 Aug, 2023 1 commit
  13. 01 Aug, 2023 1 commit
  14. 30 Jul, 2023 1 commit
    • Paul Fultz II's avatar
      Enable tuning for MLIR (#1965) · be6ecff6
      Paul Fultz II authored
      * Add initial tuning support
      
      * Format
      
      * Add extra param
      
      * Format
      
      * Use exauhstive flag
      
      * Format
      
      * Set expected shapes
      
      * Format
      
      * Format
      
      * Fix missing symbol
      
      * Format
      
      * Add missing license header
      
      * Format
      
      * Update src/targets/gpu/include/migraphx/gpu/mlir.hpp
      be6ecff6
  15. 17 Jul, 2023 1 commit
    • Krzysztof Drewniak's avatar
      Enable threading in MLIR (#1899) · 5f5356cc
      Krzysztof Drewniak authored
      This commit removes the build options to disable threading and removes the mutex in compile_mlir.
      The commit being tested is a draft PR on rocMLIR that'll get merged if this passes
      5f5356cc
  16. 13 Jul, 2023 1 commit
  17. 28 Jun, 2023 2 commits
  18. 22 Jun, 2023 1 commit
  19. 24 May, 2023 1 commit
  20. 05 May, 2023 1 commit
  21. 13 Apr, 2023 1 commit
  22. 27 Mar, 2023 1 commit
  23. 06 Dec, 2022 1 commit
  24. 02 Nov, 2022 1 commit
  25. 24 Oct, 2022 1 commit
  26. 18 Oct, 2022 1 commit
  27. 06 Sep, 2022 1 commit
  28. 12 Aug, 2022 1 commit
  29. 02 Aug, 2022 1 commit
  30. 03 Jul, 2022 1 commit
    • Paul Fultz II's avatar
      Add mlir fusion (#1251) · ca8a54fe
      Paul Fultz II authored
      * Add mlir c api
      
      * Formatting
      
      * Create a type attribute
      
      * Formatting
      
      * Parse module
      
      * Formatting
      
      * Add mlir dump function
      
      * Add test case
      
      * Formatting
      
      * Fix tidy issues
      
      * Update mlit version
      
      * Update to newer mlir
      
      * Format
      
      * Move mlir to the gpu and update the test
      
      * Formatting
      
      * Fix bug when appending module
      
      * Format
      
      * Remove old cmake flag
      
      * Update message
      
      * Add return
      
      * Format
      
      * Add mlir_compile
      
      * Format
      
      * Register dialect
      
      * Handle unsinged integers
      
      * Dont provide output for return instruction
      
      * Format
      
      * Add code to insert memrefs
      
      * Format
      
      * Add mlir verification
      
      * Formatting
      
      * Enable pointwise_fusion
      
      * Disable eliminate_data_type
      
      * Set kernal name
      
      * Format
      
      * Fix device name
      
      * Formatting
      
      * Fix output arg
      
      * Format
      
      * Updates
      
      * Upate hash
      
      * Add fuse_mlir pass
      
      * Format
      
      * Add fuse mlir
      
      * Format
      
      * Update mlir
      
      * Sort parameter names
      
      * Format
      
      * Reenable disabled passes
      
      * Remove old mlir conv
      
      * Remove asym default padding
      
      * Add more verbose tracing
      
      * Format
      
      * Fix compilation errors
      
      * Format
      
      * Whitelist operators
      
      * Format
      
      * Add namespace
      
      * Format
      
      * Update triple
      
      * Format
      
      * Use func dialect
      
      * Format
      
      * Use func.return
      
      * Format
      
      * Upgrade mlir version
      
      * Add comment
      
      * Handle symetrical padding
      
      * Format
      
      * Cleanup debug output
      
      * Format
      
      * List failed tests
      
      * Move mlir compile to jit pipeline
      
      * Format
      
      * Update version
      
      * Add source locations
      
      * Format
      
      * Correctly add module
      
      * Format
      
      * Update failed tests
      
      * Fix failures when mlir is disabled
      
      * Format
      
      * Update mlir version
      
      * Check type for fp32
      
      * Format
      
      * Remove failed test
      
      * Update mlir in driver
      
      * Tidy fixes
      
      * Foramt
      
      * Tidy fixes
      
      * Format
      
      * Fix const
      
      * Remove from requirements
      
      * Fix cmake version
      
      * Fix tidy warning
      
      * Use another ifdef
      
      * Fix tidy
      
      * Other tidy fix
      
      * Format
      
      * Update hash
      
      * Add missing license files
      
      * Format
      
      * Format
      
      * Fix fnction name
      ca8a54fe