-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Expands tpp-run '-print' utility to support more data types.
- Loading branch information
Showing
6 changed files
with
53 additions
and
16 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
// RUN: tpp-run %s -e entry -entry-point-result=void -print | FileCheck %s | ||
|
||
func.func @entry(%arg0: memref<8x8xf16>) { | ||
%cst = arith.constant 9.0 : f16 | ||
linalg.fill ins(%cst : f16) outs(%arg0 : memref<8x8xf16>) | ||
return | ||
} | ||
|
||
// CHECK-COUNT-8: ( 9, 9, 9, 9, 9, 9, 9, 9 ) |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
// RUN: tpp-run %s -e entry -entry-point-result=void -print | FileCheck %s | ||
|
||
func.func @entry(%arg0: memref<8x8xf32>) { | ||
%cst = arith.constant 9.0 : f32 | ||
linalg.fill ins(%cst : f32) outs(%arg0 : memref<8x8xf32>) | ||
return | ||
} | ||
|
||
// CHECK-COUNT-8: ( 9, 9, 9, 9, 9, 9, 9, 9 ) |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
// RUN: tpp-run %s -e entry -entry-point-result=void -print | FileCheck %s | ||
|
||
func.func @entry(%arg0: memref<8x8xi32>) { | ||
%cst = arith.constant 9 : i32 | ||
linalg.fill ins(%cst : i32) outs(%arg0 : memref<8x8xi32>) | ||
return | ||
} | ||
|
||
// CHECK-COUNT-8: ( 9, 9, 9, 9, 9, 9, 9, 9 ) |
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