1. 22 Jul, 2023 5 commits
  2. 21 Jul, 2023 3 commits
    • Umang Yadav's avatar
      Add back clamping and add tests (#1969) · 6957243c
      Umang Yadav authored
      Fixes #1957
      
      Clamping was removed in #1853.
      
      Turns out clamping as necessary to handle overflow/underflow cases. during downcasting, if it overflowed then without clamping it returned infinity.
      6957243c
    • Umang Yadav's avatar
      Use `optimize_module` pass for the quantization to fp16 (#1974) · 6f1f4b59
      Umang Yadav authored
      Fixes #1746
      
      BatchNorm only has x as the runtime input parameter for the following equation. All the other parameters are compile-time constants and related operations can be const-folded before quantizing to fp16 to preserve precision.
      6f1f4b59
    • Umang Yadav's avatar
      Make global workitems multiple of local workitems (#1976) · 3216fe52
      Umang Yadav authored
      HIP requires global work items in multiple of local work items. If it is not it is not guaranteed to generate correct results all the time.
      Fixes #1977
      Fixes #1644
      MIGraphX CI has moved to rocm-5.6 which doesn't require hipRTC workarounds
      3216fe52
  3. 19 Jul, 2023 4 commits
  4. 18 Jul, 2023 3 commits
  5. 17 Jul, 2023 3 commits
  6. 16 Jul, 2023 1 commit
  7. 13 Jul, 2023 2 commits
    • Krzysztof Drewniak's avatar
      [NFC] Update MLIR usage to account for upstream merge (#1924) · c4765a6d
      Krzysztof Drewniak authored
      Allows the rocMLIR CI (which builds rocMLIR tip against MIGraphX tip) to pass.
      c4765a6d
    • Charlie Lin's avatar
      Update deconvolution -> convolution_backwards and Dynamic Shape Support (#1801) · 4edf1195
      Charlie Lin authored
      Renames deconvolution -> convolution_backwards to be more consistent with the literature
      Note: this is not the cross-correlation operator (which is the adjoint of convolution). This is technically a standard convolution operator combined with an upsampling operator rather than a downsampling operator.
      Adds unit tests for the padding, strides, dilations, and other op attributes.
      Throws on auto_pad attribute since it has not been implemented
      Previously it read the attribute and set it but then did nothing with it
      Extended for dynamic shapes
      Does not support using asymmetric padding (padding_L != padding_R) and output_shape with dynamic shapes.
      4edf1195
  8. 11 Jul, 2023 1 commit
  9. 10 Jul, 2023 3 commits
  10. 09 Jul, 2023 1 commit
  11. 08 Jul, 2023 2 commits
  12. 07 Jul, 2023 2 commits
  13. 06 Jul, 2023 3 commits
    • Artur Wojcik's avatar
    • Paul Fultz II's avatar
      Use MIGRAPHX_GLOBAL (#1918) · c45b34c3
      Paul Fultz II authored
      This will also annotate the function with the block size so the compiler can do a better job of optimizing.
      c45b34c3
    • Paul Fultz II's avatar
      Enable eval to handle multiple contexts (#1751) · 072fd5cc
      Paul Fultz II authored
      This is to help enable multi-target execution. We store a vector of targets and contexts. Currently this will only compile a single target, the PR #1672 is needed to enable multiple targets.
      
      This will also serialize the targets and contexts.
      
      When using the execution_environment or prog.get_context() it will always use the context from the first target assuming this is the "primary" target. Although, its unlikely a user would use execution_environment with a multi-target environment.
      072fd5cc
  14. 05 Jul, 2023 3 commits
  15. 02 Jul, 2023 3 commits
  16. 01 Jul, 2023 1 commit