1. 23 Nov, 2023 3 commits
  2. 21 Nov, 2023 2 commits
  3. 08 Nov, 2023 1 commit
    • Zakor Gyula's avatar
      Fix Round operator inaccuracy (#2244) · 48c4453c
      Zakor Gyula authored
      The inaccuracy was caused by ONNX round requires nearest integer rounding for halway (0.5) cases.
      std::round rounds away from zero, thus giving wrong results with halfway cases.
      Replaced std::round with std::nearbyint which uses the correct rounding by default.
      48c4453c
  4. 07 Nov, 2023 1 commit
  5. 31 Oct, 2023 1 commit
  6. 30 Oct, 2023 1 commit
  7. 11 Oct, 2023 1 commit
  8. 08 Oct, 2023 2 commits
  9. 05 Oct, 2023 1 commit
  10. 02 Oct, 2023 2 commits
  11. 27 Sep, 2023 1 commit
    • Ted Themistokleous's avatar
      Modify reshapes (#2099) · 7e5ccd4b
      Ted Themistokleous authored
      Modify reshapes to use reshape_lazy for aliasing and then reshape for a reshape copy operation to eliminate contiguous
      7e5ccd4b
  12. 24 Sep, 2023 1 commit
  13. 16 Sep, 2023 1 commit
    • Charlie Lin's avatar
      `fill` ref operator (#2087) · 0da1037f
      Charlie Lin authored
      Implements a fill operator that sets the values in an output buffer to a given value
      Will be used when parsing ONNX ConstantOfShape
      Can also be used when a buffer needs to be filled with a value that is determined at runtime
      0da1037f
  14. 14 Sep, 2023 1 commit
    • Brian Pickrell's avatar
      added rand_uniform operation closes #1958 (#2051) · fbd12bd3
      Brian Pickrell authored
      New op that populates a shape with random numbers with a uniform distribution. The rand_uniform op. can implement the Onnx RandomUniform instruction, and can also create the random number sequence necessary to implement Multinomial. (At this time, our Onnx Multinomial parsing generates a random sequence of numbers when parsing as a workaround, so that the resulting program uses the same "random" set every time.)
      
      Arguments: shape, seed. Shape is required; can be static or dynamic. Seed is still optional in this version. If it's not given at inference time, use the value in the creation attribute seed. Update: deleted A boolean use_auto_seed causes any given seed to be ignored.
      fbd12bd3
  15. 13 Sep, 2023 1 commit
  16. 07 Sep, 2023 1 commit
  17. 06 Aug, 2023 1 commit
  18. 23 Jul, 2023 1 commit
  19. 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
  20. 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
  21. 06 Jul, 2023 1 commit
    • 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
  22. 31 May, 2023 1 commit
  23. 06 Apr, 2023 1 commit
  24. 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
  25. 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
  26. 22 Mar, 2023 1 commit
  27. 13 Mar, 2023 1 commit
  28. 09 Mar, 2023 1 commit
  29. 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
  30. 03 Feb, 2023 1 commit
  31. 31 Jan, 2023 1 commit
  32. 02 Nov, 2022 1 commit
  33. 13 Oct, 2022 1 commit
  34. 31 Aug, 2022 1 commit
  35. 21 Aug, 2022 1 commit
    • varunsh's avatar
      Update is_supported (#1334) · 79e15ca9
      varunsh authored
      * Update is_supported
      * Return object from is_supported
      * Return by reference in interator
      79e15ca9