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:
5757# output
5858
5959module @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 = []} {
6161 %0 = stablehlo.add %arg0, %arg1 : tensor<i64>
6262 return %0 : tensor<i64>
6363 }
@@ -101,7 +101,7 @@ variable input `%arg0`:
101101# output
102102
103103module @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 = []} {
105105 %c = stablehlo.constant dense<4> : tensor<i64>
106106 %0 = stablehlo.add %arg0, %c : tensor<i64>
107107 return %0 : tensor<i64>
You can’t perform that action at this time.
0 commit comments