1. 08 May, 2020 1 commit
    • Paul Fultz II's avatar
      Horizontal fusions of gemms and convolutions (#472) · 1a4ff504
      Paul Fultz II authored
      
      
      * Add decompose pass
      
      * Add decompose test
      
      * Formatting
      
      * Add remap
      
      * Formatting
      
      * Add compute method for dot
      
      * Formatting
      
      * Add finder for horizontal fusion
      
      * Formatting
      
      * Formatting
      
      * Reuse predicate
      
      * Add gemm fusions
      
      * Formatting
      
      * Add some fixes for convolution
      
      * Formatting
      
      * Fix shape tests
      
      * Formatting
      
      * Reuse axis equal
      
      * Add initial split fusion
      
      * Formatting
      
      * Update offset
      
      * Workaround outputs that cant accept nonstandard shapes
      
      * Formatting
      
      * Add check for split concat
      
      * Formatting
      
      * Add missing headers
      
      * Formatting
      
      * Add tests
      
      * Formatting
      
      * Add more testing
      
      * Formatting
      
      * Fix when there is duplicate splits in inputs
      
      * Formatting
      
      * Fix mismatch iterators
      
      * Add tests for dot fusions
      
      * Formatting
      
      * Add test for convolution
      
      * Formatting
      
      * Fix tidy issues
      
      * Add more tests
      
      * Formatting
      
      * Ignore build directory for codecov
      
      * Add test for groups
      
      * Formatting
      
      * Add more tests for groups
      
      * Formatting
      
      * Add test for missing end slice
      
      * Add newline
      
      * Remove unused function
      
      * Add support for when beta is not 1
      
      * Formatting
      
      * Add test for scalar
      
      * Add one more scalar test
      Co-authored-by: default avatarmvermeulen <5479696+mvermeulen@users.noreply.github.com>
      1a4ff504
  2. 07 May, 2020 1 commit
    • Paul Fultz II's avatar
      Usability updates to onnx parsing (#480) · 45bb91ea
      Paul Fultz II authored
      
      
      * Add skip unknown operators flag
      
      * Formatting
      
      * Add flag to print program on error
      
      * Formatting
      
      * Fix compile error in py
      
      * Formatting
      
      * Workaround cppcheck error
      
      * Initialize with struct
      
      * Formatting
      
      * Disable warning
      
      * Formatting
      
      * Add test for print errors
      
      * Formatting
      
      * Formatting
      
      * Fix compiler error
      
      * Formatting
      
      * Formatting
      
      * Formatting
      
      * Use correct map
      
      * Formatting
      Co-authored-by: default avatarmvermeulen <5479696+mvermeulen@users.noreply.github.com>
      45bb91ea
  3. 06 May, 2020 1 commit
  4. 05 May, 2020 1 commit
    • Shucai Xiao's avatar
      Python_scalar_argument_support (#463) · 233d4303
      Shucai Xiao authored
      
      
      * python api support scalar argument
      
      * clang format
      
      * add unit test for the scalar type
      
      * clang format
      
      * update to include numpy
      
      * fix package issue
      
      * fix package issue
      
      * fixed review comments
      
      * resolve review comments
      
      * remove unnecessary changes
      
      * refine a unit test for beter coverage
      
      * clang format
      
      * refine unit tests to cover code change
      
      * clang format
      
      * change unit test
      
      * refine tests
      
      * refine unit test
      
      * clang format
      
      * refine unit test
      
      * fix a dockerfile error
      
      * fix bug
      
      * scalar shape support in c++ api
      
      * clang format
      
      * fix cppcheck error
      
      * fix possible errors
      
      * clang format
      Co-authored-by: default avatarmvermeulen <5479696+mvermeulen@users.noreply.github.com>
      233d4303
  5. 30 Apr, 2020 2 commits
    • kahmed10's avatar
      Add tile op (#513) · 9879574a
      kahmed10 authored
      
      
      * fix pad calc
      
      * add tile op
      
      * formatting
      
      * add test
      
      * formatting
      
      * fix tidy
      
      * formatting
      Co-authored-by: default avatarmvermeulen <5479696+mvermeulen@users.noreply.github.com>
      9879574a
    • Shucai Xiao's avatar
      Parse onnx using explicit input shape (#474) · 2074d756
      Shucai Xiao authored
      
      
      * refine slice implementation
      
      * clang format
      
      * fix cppcheck error
      
      * clang format
      
      * change parse operator function signature
      
      * clang format
      
      * add parsing the split operator
      
      * clang format
      
      * add parsing split operator
      
      * make squeeze/unsqueeze inputs to standard shape
      
      * fix a bug in parsing slice
      
      * change parsing pad to support opset 11 definition
      
      * clang format
      
      * add unit tests for the split operator
      
      * clang format
      
      * fix cppcheck error
      
      * clang format
      
      * update tests for multiple program outputs
      
      * clang format
      
      * fix cppcheck error
      
      * clang format
      
      * refine an error message
      
      * add unit tests for the pad operator
      
      * clang format
      
      * add unit tests for slice operator
      
      * clang format
      
      * fix review comments
      
      * fix cppcheck error
      
      * add the numpy package in the Dockerfile
      
      * add c api for onnx options
      
      * clang format
      
      * change c/c++ and python apis related to parse_onnx option change
      
      * clang format
      
      * fixed a bug
      
      * fix a bug
      
      * add fix bugs in cpp api
      
      * fix bugs in c api for onnx_options
      
      * clang format
      
      * add unit tests
      
      * clang format
      
      * add missing onnx file
      
      * add more unit test for dynamic input shape support
      
      * clang format
      
      * fix cppcheck error
      
      * fix cppcheck error
      
      * fix cppcheck error
      
      * clang format
      
      * fix cppcheck error
      
      * clang format
      
      * code change to resolve the segmentation problem
      
      * clang format
      
      * change the api
      
      * clang format
      
      * fixed a unit test error
      
      * fix cppcheck error
      
      * clang format
      
      * fixed a cppcheck error
      
      * fix review comments
      
      * clang format
      Co-authored-by: default avatarmvermeulen <5479696+mvermeulen@users.noreply.github.com>
      2074d756
  6. 29 Apr, 2020 1 commit
  7. 24 Apr, 2020 1 commit
    • Shucai Xiao's avatar
      Onehot operator (#510) · 0928c6cb
      Shucai Xiao authored
      * new onehot implemenation by combining other operators
      
      * clang format
      
      * backup
      
      * update unit tests
      
      * clang format
      0928c6cb
  8. 21 Apr, 2020 2 commits
  9. 20 Apr, 2020 1 commit
  10. 17 Apr, 2020 2 commits
  11. 16 Apr, 2020 2 commits
  12. 14 Apr, 2020 1 commit
  13. 10 Apr, 2020 1 commit
    • kahmed10's avatar
      Slice axes fix (#498) · ccf491a4
      kahmed10 authored
      * fix axes bug, reorder and add test
      
      * formatting
      
      * add missing test file
      ccf491a4
  14. 09 Apr, 2020 1 commit
    • Shucai Xiao's avatar
      Parse graph node topologically (#479) · 3f3885ac
      Shucai Xiao authored
      
      
      * python api support scalar argument
      
      * clang format
      
      * change parse operator function signature
      
      * clang format
      
      * add parsing the split operator
      
      * clang format
      
      * add parsing split operator
      
      * make squeeze/unsqueeze inputs to standard shape
      
      * add unit tests for the split operator
      
      * clang format
      
      * fix cppcheck error
      
      * clang format
      
      * update tests for multiple program outputs
      
      * clang format
      
      * update the function parse_graph
      
      * clang format
      
      * fixed an unit test
      
      * revert code back
      
      * remove blank line
      
      * refine an error message
      
      * add unit tests for code change
      
      * clang format
      
      * refine an error message
      Co-authored-by: default avatarmvermeulen <5479696+mvermeulen@users.noreply.github.com>
      3f3885ac
  15. 08 Apr, 2020 2 commits
  16. 07 Apr, 2020 1 commit
  17. 06 Apr, 2020 1 commit
    • Paul Fultz II's avatar
      Upgrade to hcc 3.0 (#487) · e184395c
      Paul Fultz II authored
      * Upgrade compiler to hcc
      
      * Add missing perl package for hcc
      
      * Update hip and rocblas version
      
      * Add flag to speedup build
      
      * Remove symlink
      
      * Add no-gpu-rdc to linking
      
      * Add missing define
      
      * Disable no unused argument
      
      * Suppress warning
      
      * Add definition to all targets
      
      * Fix compiler flags
      
      * Refer to rocblas
      e184395c
  18. 03 Apr, 2020 1 commit
  19. 02 Apr, 2020 1 commit
  20. 29 Mar, 2020 2 commits
  21. 23 Mar, 2020 1 commit
  22. 08 Mar, 2020 1 commit
  23. 07 Mar, 2020 2 commits
  24. 06 Mar, 2020 1 commit
    • Shucai Xiao's avatar
      Support multi program outputs (#436) · 5592b921
      Shucai Xiao authored
      
      
      * Add initial api
      
      * Formatting
      
      * Add more api
      
      * Formatting
      
      * Add auto api generation
      
      * Formatting
      
      * Fix some compilation errors
      
      * Change handle struct
      
      * Formatting
      
      * Fix reamining compilation errors
      
      * Formatting
      
      * fixed a bug related to number of outputs
      
      * Simplify using ctype
      
      * Formatting
      
      * Initial c++ generation
      
      * Formatting
      
      * Add C++header
      
      * Formatting
      
      * Add test
      
      * Formatting
      
      * Add initial tests
      
      * Formatting
      
      * Try to fix formatting
      
      * Cleanup formatting
      
      * Formatting
      
      * Fix constructors on the same line
      
      * Fix tests
      
      * Formatting
      
      * Fix tidy issues
      
      * Fix tidy issues
      
      * Fix naming issue
      
      * Add onnx API to parse buffer
      
      * Formatting
      
      * Add arguments api
      
      * Formatting
      
      * Fix verify parameters
      
      * Fix cppcheck issues
      
      * Formatting
      
      * Add method to get output shapes and bytes
      
      * Formatting
      
      * Try formatting
      
      * Formatting
      
      * Improve the test coverage
      
      * Formatting
      
      * Add print method
      
      * Formatting
      
      * Fix cppcheck issue
      
      * Fix package dependency
      
      * code backup for support multiple outputs
      
      * clang format
      
      * change migraphx api to support multiple program outputs
      
      * clang format
      
      * change api implementation
      
      * clang format
      
      * clang format
      
      * fix a build error
      
      * additional changes
      
      * clang format
      
      * change api for correct automatic generation
      
      * clang format
      
      * fix unit test error
      
      * fix unit test error
      
      * fix unit tests error
      
      * support multiple program outputs
      
      * clang format
      
      * remove @ from the add_return name
      
      * Add nolint
      
      * Try fix formatting
      
      * Formatting
      
      * formatting
      
      * formatting
      
      * Fix formatting
      
      * code cleanup
      
      * clang format
      
      * fix cppcheck error
      
      * fix a cppcheck error
      
      * clang format
      
      * fix review comments
      
      * clang format
      
      * fix cppcheck error
      
      * clang format
      
      * record graph output name
      
      * clang format
      
      * refine print the add_return instruction
      
      * clang format
      
      * fix cppcheck error
      
      * clang format
      
      * refine the name of the add_return instruction
      
      * fixed a bug related to workspace
      
      * fixed two small bugs
      
      * clang format
      
      * add more unit tests for multiple program outputs
      
      * clang format
      
      * change an error info
      
      * clang format
      
      * fix cppcheck error
      
      * add unit test for better code coverage
      
      * change to reduce code change
      
      * clang format
      
      * remove storing program output
      
      * fix cppcheck error
      
      * fix review comments
      
      * clang format
      
      * clang format
      
      * remove unnecessary change
      
      * resolve an assert error
      
      * clang format
      
      * change the output name with prefix '#'
      
      * changes in quantization function to support the returns instructin
      
      * clang format
      
      * refine unit tests
      
      * clang format
      
      * refine profiling print out report
      Co-authored-by: default avatarPaul <pfultz2@yahoo.com>
      Co-authored-by: default avatarKhalique <15948690+kahmed10@users.noreply.github.com>
      Co-authored-by: default avatarmvermeulen <5479696+mvermeulen@users.noreply.github.com>
      5592b921
  25. 04 Mar, 2020 1 commit
  26. 26 Feb, 2020 1 commit
  27. 24 Feb, 2020 2 commits
  28. 15 Feb, 2020 1 commit
    • Shucai Xiao's avatar
      Change api to multiple prog outputs (only API change) (#433) · 1b692d0f
      Shucai Xiao authored
      
      
      * Add initial api
      
      * Formatting
      
      * Add more api
      
      * Formatting
      
      * Add auto api generation
      
      * Formatting
      
      * Fix some compilation errors
      
      * Change handle struct
      
      * Formatting
      
      * Fix reamining compilation errors
      
      * Formatting
      
      * Simplify using ctype
      
      * Formatting
      
      * Initial c++ generation
      
      * Formatting
      
      * Add C++header
      
      * Formatting
      
      * Add test
      
      * Formatting
      
      * Add initial tests
      
      * Formatting
      
      * Try to fix formatting
      
      * Cleanup formatting
      
      * Formatting
      
      * Fix constructors on the same line
      
      * Fix tests
      
      * Formatting
      
      * Fix tidy issues
      
      * Fix tidy issues
      
      * Fix naming issue
      
      * Add onnx API to parse buffer
      
      * Formatting
      
      * Add arguments api
      
      * Formatting
      
      * Fix verify parameters
      
      * Fix cppcheck issues
      
      * Formatting
      
      * Add method to get output shapes and bytes
      
      * Formatting
      
      * Try formatting
      
      * Formatting
      
      * Improve the test coverage
      
      * Formatting
      
      * Add print method
      
      * Formatting
      
      * Fix cppcheck issue
      
      * Fix package dependency
      
      * change migraphx api to support multiple program outputs
      
      * clang format
      
      * change api implementation
      
      * clang format
      
      * fix a build error
      
      * change api for correct automatic generation
      
      * clang format
      
      * Add nolint
      
      * Try fix formatting
      
      * Formatting
      
      * formatting
      
      * formatting
      
      * Fix formatting
      
      * code cleanup
      
      * clang format
      
      * fix cppcheck error
      
      * fix review comments
      
      * clang format
      Co-authored-by: default avatarPaul Fultz II <pfultz2@yahoo.com>
      Co-authored-by: default avatarkahmed10 <15948690+kahmed10@users.noreply.github.com>
      1b692d0f
  29. 12 Feb, 2020 1 commit
  30. 10 Feb, 2020 1 commit
    • Shucai Xiao's avatar
      Add additional simple operators (MatMulInteger, ConvInteger, Asinh, Acosh, and Atanh (#431) · a023ec19
      Shucai Xiao authored
      
      
      * Add initial api
      
      * Formatting
      
      * Add more api
      
      * Formatting
      
      * add more operators (asinh, acosh, atanh, MatMulInteger, ConvInteger)
      
      * clang format
      
      * add unit tests for new operators
      
      * clang format
      
      * Add auto api generation
      
      * Formatting
      
      * Fix some compilation errors
      
      * Change handle struct
      
      * Formatting
      
      * Fix reamining compilation errors
      
      * Formatting
      
      * Simplify using ctype
      
      * Formatting
      
      * Initial c++ generation
      
      * Formatting
      
      * Add C++header
      
      * Formatting
      
      * Add test
      
      * Formatting
      
      * Add initial tests
      
      * Formatting
      
      * Try to fix formatting
      
      * Cleanup formatting
      
      * Formatting
      
      * Fix constructors on the same line
      
      * Fix tests
      
      * Formatting
      
      * Fix tidy issues
      
      * Fix tidy issues
      
      * Fix naming issue
      
      * Add onnx API to parse buffer
      
      * Formatting
      
      * Add arguments api
      
      * Formatting
      
      * Fix verify parameters
      
      * Fix cppcheck issues
      
      * Formatting
      
      * Add method to get output shapes and bytes
      
      * Formatting
      
      * Try formatting
      
      * Formatting
      
      * Improve the test coverage
      
      * Formatting
      
      * Add print method
      
      * Formatting
      
      * Fix cppcheck issue
      
      * Fix package dependency
      
      * Add nolint
      
      * Try fix formatting
      
      * Formatting
      
      * formatting
      
      * formatting
      
      * Fix formatting
      Co-authored-by: default avatarPaul Fultz II <pfultz2@yahoo.com>
      Co-authored-by: default avatarmvermeulen <5479696+mvermeulen@users.noreply.github.com>
      Co-authored-by: default avatarkahmed10 <15948690+kahmed10@users.noreply.github.com>
      a023ec19
  31. 07 Feb, 2020 1 commit
    • Paul Fultz II's avatar
      Add C and C++ api (#430) · b949da7f
      Paul Fultz II authored
      
      
      * Add initial api
      
      * Formatting
      
      * Add more api
      
      * Formatting
      
      * Add auto api generation
      
      * Formatting
      
      * Fix some compilation errors
      
      * Change handle struct
      
      * Formatting
      
      * Fix reamining compilation errors
      
      * Formatting
      
      * Simplify using ctype
      
      * Formatting
      
      * Initial c++ generation
      
      * Formatting
      
      * Add C++header
      
      * Formatting
      
      * Add test
      
      * Formatting
      
      * Add initial tests
      
      * Formatting
      
      * Try to fix formatting
      
      * Cleanup formatting
      
      * Formatting
      
      * Fix constructors on the same line
      
      * Fix tests
      
      * Formatting
      
      * Fix tidy issues
      
      * Fix tidy issues
      
      * Fix naming issue
      
      * Add onnx API to parse buffer
      
      * Formatting
      
      * Add arguments api
      
      * Formatting
      
      * Fix verify parameters
      
      * Fix cppcheck issues
      
      * Formatting
      
      * Add method to get output shapes and bytes
      
      * Formatting
      
      * Try formatting
      
      * Formatting
      
      * Improve the test coverage
      
      * Formatting
      
      * Add print method
      
      * Formatting
      
      * Fix cppcheck issue
      
      * Fix package dependency
      
      * Add nolint
      
      * Try fix formatting
      
      * Formatting
      
      * formatting
      
      * formatting
      
      * Fix formatting
      Co-authored-by: default avatarShucai Xiao <shucai.xiao@amd.com>
      Co-authored-by: default avatarkahmed10 <15948690+kahmed10@users.noreply.github.com>
      b949da7f
  32. 24 Jan, 2020 1 commit
    • kahmed10's avatar
      Conv transpose op (#429) · cf85b4c6
      kahmed10 authored
      
      
      * initial testing
      
      * add shape op
      
      * formatting
      
      * add env variable for batch sizes
      
      * formatting
      
      * progress on driver
      
      * progress on driver
      
      * cleanup
      
      * cleanup
      
      * add and modified prev tests
      
      * formatting
      
      * remove comment
      
      * add shape op test
      
      * formatting
      
      * manually insert shape op in test
      
      * formatting
      
      * create options struct for parsers
      
      * formatting
      
      * Add documentation for python
      
      * Fix c++ documentaion
      
      * add documentation to parser
      
      * formatting
      
      * add argmin and tests
      
      * fix doc and definitions
      
      * formatting
      
      * revert test functions
      
      * formatting
      
      * cpu impl of conv_transpose
      
      * more work on conv_transpose
      
      * rename files, added extratests
      
      * formatting
      
      * add more tests
      
      * formatting
      
      * changes
      
      * fix tests
      
      * fix tidy
      
      * formatting
      
      * fixed function parameter
      
      * fix function parameter
      
      * add cpu ops test
      
      * formatting
      Co-authored-by: default avatarPaul Fultz II <pfultz2@yahoo.com>
      Co-authored-by: default avatarmvermeulen <5479696+mvermeulen@users.noreply.github.com>
      cf85b4c6