1. 04 Aug, 2023 1 commit
  2. 03 Aug, 2023 1 commit
  3. 31 Jul, 2023 1 commit
    • Lakhinder Walia's avatar
      Lw/fix half shape (#2000) · e4dc75ea
      Lakhinder Walia authored
      * Use shape of Instruction (instead of a default) in add_return()
      
      * Instruction validation fix: not to use a default shape value for comparison
      
      * Fix instruction::replace() to recompute shape for "@return"
      
      * handle the case of missing shape in an Instruction related Test
      
      * use compute_shape() to get op shapes + test case for tuple_type
      
      * add test case shape_test/return_shape_tuple
      
      * Add test for @return to check for half type
      
      * Move @return unit-tests around..; Address review comments
      
      * Broken comparison fix: comparison to a (default) shape of tuple_type
      
      * Test cases: (add) return_shape_empty & (modify) return_shape_tuple
      
      * modify the assert() statement
      e4dc75ea
  4. 28 Jul, 2023 2 commits
  5. 25 Jul, 2023 2 commits
  6. 23 Jul, 2023 1 commit
  7. 22 Jul, 2023 2 commits
  8. 21 Jul, 2023 1 commit
    • 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
  9. 19 Jul, 2023 1 commit
  10. 17 Jul, 2023 1 commit
  11. 16 Jul, 2023 1 commit
  12. 13 Jul, 2023 1 commit
    • 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
  13. 10 Jul, 2023 2 commits
  14. 08 Jul, 2023 1 commit
    • Artur Wojcik's avatar
      export API symbols from dynamic libraries (#1892) · c04fbc92
      Artur Wojcik authored
      Export API symbols for migraphx, migraphx_ref, migraphx_cpu, migrphx_gpu, migraphx_device, migraphx_tf, and migraphx_onnx. There is a separate PR for migrahx_c.
      
      API symbol exporting affects only Windows. It is transparent on Linux.
      c04fbc92
  15. 06 Jul, 2023 2 commits
    • Artur Wojcik's avatar
    • 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
  16. 05 Jul, 2023 2 commits
  17. 02 Jul, 2023 1 commit
  18. 30 Jun, 2023 1 commit
  19. 23 Jun, 2023 1 commit
  20. 17 Jun, 2023 2 commits
    • Ted Themistokleous's avatar
      Add trace for SIMPLIFY_ALGEBRA matches (#1838) · a0fa3742
      Ted Themistokleous authored
      * Add trace for SIMPLIFY_ALGEBRA matches
      
      * Fix format
      
      * handle review comments from Umang
      
      -int to size_t for trace
      -move env arg to top of simplify_algebra.cpp
      -handle overload beter for find_matches
      
      * Rename trace_mod param to trace_pass
      
      More representative naming for what this trace flag does
      a0fa3742
    • Umang Yadav's avatar
      Fix convert operation for NaNs (#1840) · 2d635f91
      Umang Yadav authored
      * Fix convert for the NaNs
      
      * NaNs can't be compared, use std::isnan()
      
      * formatting
      
      * formatting
      
      * formatting
      
      * add extra tests
      2d635f91
  21. 16 Jun, 2023 1 commit
  22. 15 Jun, 2023 1 commit
    • Brian Pickrell's avatar
      fix parse_instancenorm to create broadcast and multibroadcast instruc… (#1715) · 41ba30d5
      Brian Pickrell authored
      * fix parse_instancenorm to create broadcast and multibroadcast instructions with two dynamic shape arguments instead of 1.  Their make_op() functions don't support dynamic shapes when called with one input.  This caused an error when parsing an ONNX 3duunet model
      
      * Use add_common_op() to create multibroadcast op.
      
      * add verification and parsing test for instance_norm with dynamic input.  Parse test doesn't pass.
      
      * fix for test; still doesn't pass
      
      * another fix for test; still doesn't pass
      
      * work in progress, instance_norm_dyn_batch_test works but instance_norm_test doesn't
      
      * fix onnx instancenorm tests to match parser changes.  Passes all check tests
      
      * Updated comments explaining usage of add_common_op()
      
      * hand-merged conflicts with develop
      
      * fix instance_norm_half_test after merge
      
      * add Onnx test instance_norm_dyn_batch_half_test
      
      * add shape test cases broadcast_1in_dyn_error and multibroadcast_1in_dyn_error_0
      41ba30d5
  23. 12 Jun, 2023 1 commit
  24. 09 Jun, 2023 2 commits
    • Ted Themistokleous's avatar
      Add per-os shim for execution support · a3a162e9
      Ted Themistokleous authored
      Splits support for using tbb (oneTBB now) between OS's when using
      std::execution::par
      
      It appears TBB support seems to wane in earlier versions of g++ in CentOS and
      other OS's still require testing/containers to verify builds.
      
      The MIGraphX shim should just operate as normal with copy_if and sort() calls
      if TBB support isn't functional for the current OS/g++ version
      
      Also moved the TBB dependency from install_preqs to Ubuntu Docker. Shouldn't breka
      other dockers if support isn't added
      a3a162e9
    • Umang Yadav's avatar
      dfde6d07
  25. 08 Jun, 2023 1 commit
  26. 05 Jun, 2023 1 commit
  27. 31 May, 2023 1 commit
  28. 30 May, 2023 1 commit
  29. 17 May, 2023 2 commits
  30. 05 May, 2023 1 commit
  31. 04 May, 2023 1 commit
    • Zhuoran Yin's avatar
      [mlir] Adding quant convolution fusion as anchor op (#1683) · 7f105952
      Zhuoran Yin authored
      Exposed the mlir_enabled() call the decide for lowering pipeline's enablement
      Disabled the rewrite quantization pipeline in mlir compilation
      Added quant convolution as anchor ops
      Fixed the return type expectations
      Added the fall back hip implementation for quantizelinear and dequantizelinear
      Will need advises to improve the implementation for quantizelinear
      7f105952