-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
commit 30e07df5e704ef85668093b7350bfdff1a24a7c8 Author: Captain Jack Sparrow <[email protected]> Date: Mon Apr 3 20:38:05 2023 +0000 Merged PR 3199: Rename _slice to slice and add docs Rename _slice to slice and add docs commit 52491f28481ec9ca555c563eaca249ce7d621ad1 Author: Captain Jack Sparrow <[email protected]> Date: Mon Apr 3 06:05:52 2023 +0000 Merged PR 3197: Preserve dest memref shape during SliceOp to SubViewOp lowering Preserve dest memref shape during SliceOp to SubViewOp lowering: Without this change, subview op would discard the dest memref type required by the slice op. For example, ``` %7 = "accv.slice"(%arg0, %6) {sliceDimensions = [0]} : (memref<1x30x256xui8>, index) -> memref<30x256xui8, affine_map<...>> ``` would get lowered to: ``` %4 = memref.subview %arg0[%3, 0, 0] [1, 30, 256] [1, 1, 1] : memref<1x30x256xui8> to memref<1x30x256xui8, affine_map<...>> %5 = memref.cast %4 : memref<1x30x256xui8, affine_map<...>> to memref<?x?x?xui8, affine_map<...>> ``` which does not drop the first dimension as expected. With this fix, the slice op correctly lowers to: ``` %4 = memref.subview %arg0[%3, 0, 0] [1, 30, 256] [1, 1, 1] : memref<1x30x256xui8> to memref<30x256xui8, affine_map<...>> %5 = memref.cast %4 : memref<30x256xui8, affine_map<...>> to memref<30x256xui8, affine_map<...>> ``` commit 79b6fba2b083e4f38b4b9b5f86d134ebbaf604de Author: Denny Sun <[email protected]> Date: Mon Apr 3 01:02:02 2023 +0000 Merged PR 3194: Reorder the ops in GetTimeOpLowering to improve the timing accuracy In order to get the most accurate timing, we need to order the operations more appropriately, ``` from Independent logic GetTime() Independent logic Main logic to profile Independent logic GetTime() Independent logic to Independent logic Independent logic GetTime() Main logic to profile GetTime() Independent logic Independent logic ``` commit a24f82d514d8ebd5b06de4f5c36d2a13601f4ebe Author: Denny Sun <[email protected]> Date: Thu Mar 30 03:47:56 2023 +0000 Merged PR 3187: Fully dynamic split_dimension op This change enable Accera to be able to split a dynamic dimension by a dynamic size ``` ` M, N, MN = create_dimensions() Input = Array(role=Role.INPUT, element_type=ScalarType.float32, shape=(MN, )) Output = Array(role=Role.INPUT_OUTPUT, element_type=ScalarType.float32, shape=(M, N)) nest = Nest(shape=(M, N)) i, j = nest.get_indices() @nest.iteration_logic def _(): split_input = Input._split_dimension(0, N) Output[i, j] = split_input[i, j] package.add(nest, args=(MN, M, N, Input, Output), base_name=f"{test_name}_fn")` ``` commit fe1955c975c3597afd6167203a4c9b7ef7cf4d9b Author: Kern Handa <[email protected]> Date: Wed Mar 29 21:18:06 2023 +0000 Merged PR 3185: [nfc] Adds tests for vectorization, fast_exp_sum commit 0f7daceebbfb7382c64678a624955c3c06e81765 Author: Captain Jack Sparrow <[email protected]> Date: Wed Mar 29 05:38:53 2023 +0000 Merged PR 3168: [docs] Tensorization tutorials and type name updates
- Loading branch information
Ritwik Das
committed
Apr 4, 2023
1 parent
c42ca38
commit 8affe97
Showing
64 changed files
with
3,294 additions
and
945 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.