AArch64 base algorithm refactoring in LLVM#6907
Merged
mbaret merged 6 commits intoapache:mainfrom Nov 23, 2020
Merged
Conversation
Contributor
Author
mbaret
reviewed
Nov 17, 2020
Contributor
mbaret
left a comment
There was a problem hiding this comment.
Perhaps slightly more explanation on the add-pair part of the intrinsic, otherwise looks like a significant improvement.
Contributor
|
cc @FrozenGene @yzhliu if you're interested |
giuseros
pushed a commit
to giuseros/incubator-tvm
that referenced
this pull request
Nov 19, 2020
This PR stemmed from apache#6907 and it is fixing a small error in the getter and setter of a buffer for the case where `t.lanes > 1`. I also added a test to stress the issue.
giuseros
pushed a commit
to giuseros/incubator-tvm
that referenced
this pull request
Nov 19, 2020
This PR stemmed from apache#6907 and it is fixing a small error in the getter and setter of a buffer for the case where `t.lanes > 1`. I also added a test to stress the issue.
giuseros
pushed a commit
to giuseros/incubator-tvm
that referenced
this pull request
Nov 19, 2020
This PR stemmed from apache#6907 and it is fixing a small error in the getter and setter of a buffer for the case where `t.lanes > 1`. I also added a test to stress the issue.
giuseros
pushed a commit
to giuseros/incubator-tvm
that referenced
this pull request
Nov 19, 2020
This PR stemmed from apache#6907 and it is fixing a small error in the getter and setter of a buffer for the case where `t.lanes > 1`. I also added a test to stress the issue.
tqchen
pushed a commit
that referenced
this pull request
Nov 20, 2020
* Bug-fix] Fix tir allocation with multiple lanes This PR stemmed from #6907 and it is fixing a small error in the getter and setter of a buffer for the case where `t.lanes > 1`. I also added a test to stress the issue. * Address dtyped vs non-dtyped constant cases
added 4 commits
November 20, 2020 10:55
- I refactored the assembly in arm_cpu/tensor_intrin.py to use LLVM+TIR - Removed the `interleave` boolean parameter in the intrinsic to switch among two different interleaving modes. LLVM will now take care of interleaving the instructions - Applied the changes accordingly to conv2d_gemm.py to call the right instrinsic Note: I found LLVM very sensible to the choice of the `-mcpu`. So, in order to preserve performance, it is important to specify the right `-mcpu` when creating the LLVM target
3b5f93b to
d54e73a
Compare
mbaret
reviewed
Nov 23, 2020
Contributor
mbaret
left a comment
There was a problem hiding this comment.
Just some final comments on the docstrings.
Contributor
|
This is now merged, thanks @giuseros ! |
trevor-m
pushed a commit
to trevor-m/tvm
that referenced
this pull request
Dec 2, 2020
* Bug-fix] Fix tir allocation with multiple lanes This PR stemmed from apache#6907 and it is fixing a small error in the getter and setter of a buffer for the case where `t.lanes > 1`. I also added a test to stress the issue. * Address dtyped vs non-dtyped constant cases
trevor-m
pushed a commit
to trevor-m/tvm
that referenced
this pull request
Dec 2, 2020
* AArch64 base algorithm refactoring in LLVM - I refactored the assembly in arm_cpu/tensor_intrin.py to use LLVM+TIR - Removed the `interleave` boolean parameter in the intrinsic to switch among two different interleaving modes. LLVM will now take care of interleaving the instructions - Applied the changes accordingly to conv2d_gemm.py to call the right instrinsic Note: I found LLVM very sensible to the choice of the `-mcpu`. So, in order to preserve performance, it is important to specify the right `-mcpu` when creating the LLVM target * Fix linting * Fix linting -2 * Fixing comments * Address review comments * Fix spaces around ':' in docstrings
trevor-m
pushed a commit
to trevor-m/tvm
that referenced
this pull request
Dec 4, 2020
* Bug-fix] Fix tir allocation with multiple lanes This PR stemmed from apache#6907 and it is fixing a small error in the getter and setter of a buffer for the case where `t.lanes > 1`. I also added a test to stress the issue. * Address dtyped vs non-dtyped constant cases
trevor-m
pushed a commit
to trevor-m/tvm
that referenced
this pull request
Dec 4, 2020
* AArch64 base algorithm refactoring in LLVM - I refactored the assembly in arm_cpu/tensor_intrin.py to use LLVM+TIR - Removed the `interleave` boolean parameter in the intrinsic to switch among two different interleaving modes. LLVM will now take care of interleaving the instructions - Applied the changes accordingly to conv2d_gemm.py to call the right instrinsic Note: I found LLVM very sensible to the choice of the `-mcpu`. So, in order to preserve performance, it is important to specify the right `-mcpu` when creating the LLVM target * Fix linting * Fix linting -2 * Fixing comments * Address review comments * Fix spaces around ':' in docstrings
trevor-m
pushed a commit
to neo-ai/tvm
that referenced
this pull request
Dec 4, 2020
* Bug-fix] Fix tir allocation with multiple lanes This PR stemmed from apache#6907 and it is fixing a small error in the getter and setter of a buffer for the case where `t.lanes > 1`. I also added a test to stress the issue. * Address dtyped vs non-dtyped constant cases
trevor-m
pushed a commit
to neo-ai/tvm
that referenced
this pull request
Dec 4, 2020
* AArch64 base algorithm refactoring in LLVM - I refactored the assembly in arm_cpu/tensor_intrin.py to use LLVM+TIR - Removed the `interleave` boolean parameter in the intrinsic to switch among two different interleaving modes. LLVM will now take care of interleaving the instructions - Applied the changes accordingly to conv2d_gemm.py to call the right instrinsic Note: I found LLVM very sensible to the choice of the `-mcpu`. So, in order to preserve performance, it is important to specify the right `-mcpu` when creating the LLVM target * Fix linting * Fix linting -2 * Fixing comments * Address review comments * Fix spaces around ':' in docstrings
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
interleaveboolean parameter in the intrinsic to switchamong two different interleaving modes. LLVM will now take care of
interleaving the instructions
instrinsic
Note: I found LLVM very sensible to the choice of the
-mcpu.So, in order to preserve performance, it is important to specify the
right
-mcpuwhen creating the LLVM target