Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[NNPA] AffineLoad and AffineStore from/to zTensor without zlow.stick and zlow.unstick #1983

Draft
wants to merge 58 commits into
base: main
Choose a base branch
from

Commits on Dec 14, 2022

  1. zlow: add type constraints

    Signed-off-by: Tung D. Le <[email protected]>
    tungld committed Dec 14, 2022
    Configuration menu
    Copy the full SHA
    2239b27 View commit details
    Browse the repository at this point in the history

Commits on Dec 15, 2022

  1. initial test

    Signed-off-by: Tung D. Le <[email protected]>
    tungld committed Dec 15, 2022
    Configuration menu
    Copy the full SHA
    c560b21 View commit details
    Browse the repository at this point in the history

Commits on Dec 16, 2022

  1. Use the pointer version

    Signed-off-by: Tung D. Le <[email protected]>
    tungld committed Dec 16, 2022
    Configuration menu
    Copy the full SHA
    555955e View commit details
    Browse the repository at this point in the history

Commits on Dec 20, 2022

  1. Configuration menu
    Copy the full SHA
    5d38fc6 View commit details
    Browse the repository at this point in the history
  2. ONNXUnaryOp supports zTensor

    Signed-off-by: Tung D. Le <[email protected]>
    tungld committed Dec 20, 2022
    Configuration menu
    Copy the full SHA
    fbd1ce1 View commit details
    Browse the repository at this point in the history

Commits on Dec 21, 2022

  1. ONNXBinaryVariadicOp supports zTensor

    Signed-off-by: Tung D. Le <[email protected]>
    tungld committed Dec 21, 2022
    Configuration menu
    Copy the full SHA
    477b6fa View commit details
    Browse the repository at this point in the history
  2. Enable layout propagation

    Signed-off-by: Tung D. Le <[email protected]>
    tungld committed Dec 21, 2022
    Configuration menu
    Copy the full SHA
    aa55856 View commit details
    Browse the repository at this point in the history

Commits on Dec 22, 2022

  1. BinaryOp of ztensor and normal tensor

    Signed-off-by: Tung D. Le <[email protected]>
    tungld committed Dec 22, 2022
    Configuration menu
    Copy the full SHA
    b8d91ba View commit details
    Browse the repository at this point in the history
  2. COndition on f32

    Signed-off-by: Tung D. Le <[email protected]>
    tungld committed Dec 22, 2022
    Configuration menu
    Copy the full SHA
    592dcc1 View commit details
    Browse the repository at this point in the history
  3. minor change

    Signed-off-by: Tung D. Le <[email protected]>
    tungld committed Dec 22, 2022
    Configuration menu
    Copy the full SHA
    2d215b6 View commit details
    Browse the repository at this point in the history
  4. update condition

    Signed-off-by: Tung D. Le <[email protected]>
    tungld committed Dec 22, 2022
    Configuration menu
    Copy the full SHA
    68d8e6f View commit details
    Browse the repository at this point in the history
  5. fix affine map for 1D

    Signed-off-by: Tung D. Le <[email protected]>
    tungld committed Dec 22, 2022
    Configuration menu
    Copy the full SHA
    36221d5 View commit details
    Browse the repository at this point in the history
  6. fix affine map for 2ds

    Signed-off-by: Tung D. Le <[email protected]>
    tungld committed Dec 22, 2022
    Configuration menu
    Copy the full SHA
    1ab9450 View commit details
    Browse the repository at this point in the history
  7. undo affinemap for 1d and 2ds, since it's not the solution

    Signed-off-by: Tung D. Le <[email protected]>
    tungld committed Dec 22, 2022
    Configuration menu
    Copy the full SHA
    1721dff View commit details
    Browse the repository at this point in the history
  8. do not support 1d and 2ds

    Signed-off-by: Tung D. Le <[email protected]>
    tungld committed Dec 22, 2022
    Configuration menu
    Copy the full SHA
    f62f505 View commit details
    Browse the repository at this point in the history

Commits on Dec 23, 2022

  1. use malloc instead of alloca

    Signed-off-by: Tung D. Le <[email protected]>
    tungld committed Dec 23, 2022
    Configuration menu
    Copy the full SHA
    73348db View commit details
    Browse the repository at this point in the history

Commits on Jan 13, 2023

  1. Reciprocal caused errors

    Signed-off-by: Tung D. Le <[email protected]>
    tungld committed Jan 13, 2023
    Configuration menu
    Copy the full SHA
    b2658d1 View commit details
    Browse the repository at this point in the history

Commits on Jan 16, 2023

  1. No use pointers

    Signed-off-by: Tung D. Le <[email protected]>
    tungld committed Jan 16, 2023
    Configuration menu
    Copy the full SHA
    1894455 View commit details
    Browse the repository at this point in the history

Commits on Jan 17, 2023

  1. Configuration menu
    Copy the full SHA
    6ed5a59 View commit details
    Browse the repository at this point in the history
  2. clang-format

    Signed-off-by: Tung D. Le <[email protected]>
    tungld committed Jan 17, 2023
    Configuration menu
    Copy the full SHA
    087f740 View commit details
    Browse the repository at this point in the history
  3. fix OMShapeHelperOpInterface link issue

    Signed-off-by: Tung D. Le <[email protected]>
    tungld committed Jan 17, 2023
    Configuration menu
    Copy the full SHA
    be9186f View commit details
    Browse the repository at this point in the history
  4. no unstick in layout propagation

    Signed-off-by: Tung D. Le <[email protected]>
    tungld committed Jan 17, 2023
    Configuration menu
    Copy the full SHA
    aad619d View commit details
    Browse the repository at this point in the history

Commits on Jan 26, 2023

  1. Configuration menu
    Copy the full SHA
    1159ece View commit details
    Browse the repository at this point in the history

Commits on Jan 27, 2023

  1. Use LLVM code instead of calling external funcs

    Signed-off-by: Tung D. Le <[email protected]>
    tungld committed Jan 27, 2023
    Configuration menu
    Copy the full SHA
    696437a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    137ffa6 View commit details
    Browse the repository at this point in the history
  3. clang-format

    Signed-off-by: Tung D. Le <[email protected]>
    tungld committed Jan 27, 2023
    Configuration menu
    Copy the full SHA
    ca3602a View commit details
    Browse the repository at this point in the history
  4. fix wrong instruction

    Signed-off-by: Tung D. Le <[email protected]>
    tungld committed Jan 27, 2023
    Configuration menu
    Copy the full SHA
    d59b092 View commit details
    Browse the repository at this point in the history
  5. Use a separate pass at zlow instead of layout-prop at zhigh

    Signed-off-by: Tung D. Le <[email protected]>
    tungld committed Jan 27, 2023
    Configuration menu
    Copy the full SHA
    793e004 View commit details
    Browse the repository at this point in the history
  6. missing file

    Signed-off-by: Tung D. Le <[email protected]>
    tungld committed Jan 27, 2023
    Configuration menu
    Copy the full SHA
    ebe7913 View commit details
    Browse the repository at this point in the history
  7. clean up

    Signed-off-by: Tung D. Le <[email protected]>
    tungld committed Jan 27, 2023
    Configuration menu
    Copy the full SHA
    94fa3f8 View commit details
    Browse the repository at this point in the history
  8. clean up

    Signed-off-by: Tung D. Le <[email protected]>
    tungld committed Jan 27, 2023
    Configuration menu
    Copy the full SHA
    f1169e6 View commit details
    Browse the repository at this point in the history
  9. fix linking

    Signed-off-by: Tung D. Le <[email protected]>
    tungld committed Jan 27, 2023
    Configuration menu
    Copy the full SHA
    3002e2b View commit details
    Browse the repository at this point in the history
  10. clean up

    Signed-off-by: Tung D. Le <[email protected]>
    tungld committed Jan 27, 2023
    Configuration menu
    Copy the full SHA
    ebef21d View commit details
    Browse the repository at this point in the history

Commits on Jan 29, 2023

  1. Write a pattern on ZLowUnstickOp instead of AffineLoadOp

    Signed-off-by: Tung D. Le <[email protected]>
    tungld committed Jan 29, 2023
    Configuration menu
    Copy the full SHA
    e8290f4 View commit details
    Browse the repository at this point in the history

Commits on Jan 30, 2023

  1. Generate LLVM code for fp32_to_dlf16

    Signed-off-by: Tung D. Le <[email protected]>
    tungld committed Jan 30, 2023
    Configuration menu
    Copy the full SHA
    bb8ba10 View commit details
    Browse the repository at this point in the history
  2. Pattern to replace AffineStore

    Signed-off-by: Tung D. Le <[email protected]>
    tungld committed Jan 30, 2023
    Configuration menu
    Copy the full SHA
    0ec2319 View commit details
    Browse the repository at this point in the history
  3. fix moving ops

    Signed-off-by: Tung D. Le <[email protected]>
    tungld committed Jan 30, 2023
    Configuration menu
    Copy the full SHA
    56df83a View commit details
    Browse the repository at this point in the history

Commits on Jan 31, 2023

  1. Full LLVM code for dlf16 to f32

    Signed-off-by: Tung D. Le <[email protected]>
    tungld committed Jan 31, 2023
    Configuration menu
    Copy the full SHA
    15672c8 View commit details
    Browse the repository at this point in the history
  2. Correct result for dlf16-to-f32

    Signed-off-by: Tung D. Le <[email protected]>
    tungld committed Jan 31, 2023
    Configuration menu
    Copy the full SHA
    50beddf View commit details
    Browse the repository at this point in the history
  3. fix f32-to-dlf16

    Signed-off-by: Tung D. Le <[email protected]>
    tungld committed Jan 31, 2023
    Configuration menu
    Copy the full SHA
    d2c133d View commit details
    Browse the repository at this point in the history

Commits on Feb 1, 2023

  1. SIMD for dlf16 to f32

    Signed-off-by: Tung D. Le <[email protected]>
    tungld committed Feb 1, 2023
    Configuration menu
    Copy the full SHA
    a45bc7a View commit details
    Browse the repository at this point in the history
  2. update

    Signed-off-by: Tung D. Le <[email protected]>
    tungld committed Feb 1, 2023
    Configuration menu
    Copy the full SHA
    e153430 View commit details
    Browse the repository at this point in the history
  3. simd

    Signed-off-by: Tung D. Le <[email protected]>
    tungld committed Feb 1, 2023
    Configuration menu
    Copy the full SHA
    5a22e53 View commit details
    Browse the repository at this point in the history
  4. Remove redundant code

    Signed-off-by: Tung D. Le <[email protected]>
    tungld committed Feb 1, 2023
    Configuration menu
    Copy the full SHA
    a10f3c4 View commit details
    Browse the repository at this point in the history
  5. simd for f32 to dlf16

    Signed-off-by: Tung D. Le <[email protected]>
    tungld committed Feb 1, 2023
    Configuration menu
    Copy the full SHA
    000780f View commit details
    Browse the repository at this point in the history
  6. clang-format

    Signed-off-by: Tung D. Le <[email protected]>
    tungld committed Feb 1, 2023
    Configuration menu
    Copy the full SHA
    db31c7e View commit details
    Browse the repository at this point in the history
  7. rule to remove a pair of dlf16-f32

    Signed-off-by: Tung D. Le <[email protected]>
    tungld committed Feb 1, 2023
    Configuration menu
    Copy the full SHA
    4886062 View commit details
    Browse the repository at this point in the history
  8. use 8 float16

    Signed-off-by: Tung D. Le <[email protected]>
    tungld committed Feb 1, 2023
    Configuration menu
    Copy the full SHA
    3a82880 View commit details
    Browse the repository at this point in the history
  9. upperbound for memref size

    Signed-off-by: Tung D. Le <[email protected]>
    tungld committed Feb 1, 2023
    Configuration menu
    Copy the full SHA
    089164e View commit details
    Browse the repository at this point in the history

Commits on Feb 2, 2023

  1. Configuration menu
    Copy the full SHA
    cb9676b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f1707b9 View commit details
    Browse the repository at this point in the history
  3. update to the new LLVM

    Signed-off-by: Tung D. Le <[email protected]>
    tungld committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    805b541 View commit details
    Browse the repository at this point in the history
  4. merge

    Signed-off-by: Tung D. Le <[email protected]>
    tungld committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    7c48949 View commit details
    Browse the repository at this point in the history
  5. update submodule

    Signed-off-by: Tung D. Le <[email protected]>
    tungld committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    a39103a View commit details
    Browse the repository at this point in the history
  6. Merge branch 'nnpa-compute-on-ztensor-simd' of github.com:tungld/onnx…

    …-mlir into nnpa-compute-on-ztensor-simd
    tungld committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    f53491e View commit details
    Browse the repository at this point in the history
  7. merge and resolve conflict

    Signed-off-by: Tung D. Le <[email protected]>
    tungld committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    9e35d43 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    3b36e23 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    69f6ed4 View commit details
    Browse the repository at this point in the history