File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ The StableHLO IR code generated here is:
57
57
# output
58
58
59
59
module @reactant_add attributes {mhlo.num_partitions = 1 : i64, mhlo.num_replicas = 1 : i64} {
60
- func.func @main(%arg0: tensor<i64>, %arg1: tensor<i64>) -> tensor<i64> {
60
+ func.func @main(%arg0: tensor<i64>, %arg1: tensor<i64>) -> tensor<i64> attributes {enzymexla.memory_effects = []} {
61
61
%0 = stablehlo.add %arg0, %arg1 : tensor<i64>
62
62
return %0 : tensor<i64>
63
63
}
@@ -101,7 +101,7 @@ variable input `%arg0`:
101
101
# output
102
102
103
103
module @reactant_add attributes {mhlo.num_partitions = 1 : i64, mhlo.num_replicas = 1 : i64} {
104
- func.func @main(%arg0: tensor<i64>) -> tensor<i64> {
104
+ func.func @main(%arg0: tensor<i64>) -> tensor<i64> attributes {enzymexla.memory_effects = []} {
105
105
%c = stablehlo.constant dense<4> : tensor<i64>
106
106
%0 = stablehlo.add %arg0, %c : tensor<i64>
107
107
return %0 : tensor<i64>
You can’t perform that action at this time.
0 commit comments