@@ -75,29 +75,29 @@ module {
7575// TPU-NEXT: return %0#0, %1, %2, %6 : tensor<64x64xf32>, tensor<64xi32>, tensor<64xi32>, tensor<i32>
7676// TPU-NEXT: }
7777
78- // module {
79- // // CPU: enzymexla.jit_call @enzymexla_lapack_dgetrf_
80- // // CPU: func.func @main(%arg0: tensor<64x64xf64>) -> (tensor<64x64xf64>, tensor<64xi32>, tensor<i32>) {
81- // func.func @main(%arg0: tensor<64x64xf64>) -> (tensor<64x64xf64>, tensor<64xi32>, tensor<i32>) {
82- // %0:4 = enzymexla.linalg.lu %arg0 : (tensor<64x64xf64>) -> (tensor<64x64xf64>, tensor<64xi32>, tensor<64xi32>, tensor<i32>)
83- // return %0#0, %0#1, %0#3 : tensor<64x64xf64>, tensor<64xi32>, tensor<i32>
84- // }
85- // }
78+ module {
79+ // CPU: enzymexla.jit_call @enzymexla_lapack_dgetrf_
80+ // CPU: func.func @main(%arg0: tensor<64x64xf64>) -> (tensor<64x64xf64>, tensor<64xi32>, tensor<i32>) {
81+ func.func @main (%arg0: tensor <64 x64 xf64 >) -> (tensor <64 x64 xf64 >, tensor <64 xi32 >, tensor <i32 >) {
82+ %0:4 = enzymexla.linalg.lu %arg0 : (tensor <64 x64 xf64 >) -> (tensor <64 x64 xf64 >, tensor <64 xi32 >, tensor <64 xi32 >, tensor <i32 >)
83+ return %0#0 , %0#1 , %0#3 : tensor <64 x64 xf64 >, tensor <64 xi32 >, tensor <i32 >
84+ }
85+ }
8686
87- // module {
88- // // CPU: enzymexla.jit_call @enzymexla_lapack_zgetrf_
89- // // CPU: func.func @main(%arg0: tensor<64x64xcomplex<f64>>) -> (tensor<64x64xcomplex<f64>>, tensor<64xi32>, tensor<i32>) {
90- // func.func @main(%arg0: tensor<64x64xcomplex<f64>>) -> (tensor<64x64xcomplex<f64>>, tensor<64xi32>, tensor<i32>) {
91- // %0:4 = enzymexla.linalg.lu %arg0 : (tensor<64x64xcomplex<f64>>) -> (tensor<64x64xcomplex<f64>>, tensor<64xi32>, tensor<64xi32>, tensor<i32>)
92- // return %0#0, %0#1, %0#3 : tensor<64x64xcomplex<f64>>, tensor<64xi32>, tensor<i32>
93- // }
94- // }
87+ module {
88+ // CPU: enzymexla.jit_call @enzymexla_lapack_zgetrf_
89+ // CPU: func.func @main(%arg0: tensor<64x64xcomplex<f64>>) -> (tensor<64x64xcomplex<f64>>, tensor<64xi32>, tensor<i32>) {
90+ func.func @main (%arg0: tensor <64 x64 xcomplex <f64 >>) -> (tensor <64 x64 xcomplex <f64 >>, tensor <64 xi32 >, tensor <i32 >) {
91+ %0:4 = enzymexla.linalg.lu %arg0 : (tensor <64 x64 xcomplex <f64 >>) -> (tensor <64 x64 xcomplex <f64 >>, tensor <64 xi32 >, tensor <64 xi32 >, tensor <i32 >)
92+ return %0#0 , %0#1 , %0#3 : tensor <64 x64 xcomplex <f64 >>, tensor <64 xi32 >, tensor <i32 >
93+ }
94+ }
9595
96- // module {
97- // // CPU: enzymexla.jit_call @enzymexla_lapack_cgetrf_
98- // // CPU: func.func @main(%arg0: tensor<64x64xcomplex<f32>>) -> (tensor<64x64xcomplex<f32>>, tensor<64xi32>, tensor<i32>) {
99- // func.func @main(%arg0: tensor<64x64xcomplex<f32>>) -> (tensor<64x64xcomplex<f32>>, tensor<64xi32>, tensor<i32>) {
100- // %0:4 = enzymexla.linalg.lu %arg0 : (tensor<64x64xcomplex<f32>>) -> (tensor<64x64xcomplex<f32>>, tensor<64xi32>, tensor<64xi32>, tensor<i32>)
101- // return %0#0, %0#1, %0#3 : tensor<64x64xcomplex<f32>>, tensor<64xi32>, tensor<i32>
102- // }
103- // }
96+ module {
97+ // CPU: enzymexla.jit_call @enzymexla_lapack_cgetrf_
98+ // CPU: func.func @main(%arg0: tensor<64x64xcomplex<f32>>) -> (tensor<64x64xcomplex<f32>>, tensor<64xi32>, tensor<i32>) {
99+ func.func @main (%arg0: tensor <64 x64 xcomplex <f32 >>) -> (tensor <64 x64 xcomplex <f32 >>, tensor <64 xi32 >, tensor <i32 >) {
100+ %0:4 = enzymexla.linalg.lu %arg0 : (tensor <64 x64 xcomplex <f32 >>) -> (tensor <64 x64 xcomplex <f32 >>, tensor <64 xi32 >, tensor <64 xi32 >, tensor <i32 >)
101+ return %0#0 , %0#1 , %0#3 : tensor <64 x64 xcomplex <f32 >>, tensor <64 xi32 >, tensor <i32 >
102+ }
103+ }
0 commit comments