@@ -477,38 +477,38 @@ func.func @test_depthwise_conv2d_stride_x(%arg0: tensor<1x32x32x8xf32>, %arg1: t
477477
478478// -----
479479
480- func.func @test_fft2d_real_h (%arg0: tensor <32 x 8193 x 32 x f32 >, %arg1: tensor <32 x 32 x 32 x f32 >) -> (tensor <32 x 32 x 32 x f32 >, tensor <32 x 32 x 32 x f32 >) {
480+ func.func @test_fft2d_real_h (%arg0: tensor <32 x 16384 x 32 x f32 >, %arg1: tensor <32 x 16384 x 32 x f32 >) -> (tensor <32 x 16384 x 32 x f32 >, tensor <32 x 16384 x 32 x f32 >) {
481481 // expected-error@+1 {{'tosa.fft2d' op failed level check: H <= MAX_KERNEL}}
482482 %0 , %1 = " tosa.fft2d" (%arg0 , %arg1 ) { inverse = false } :
483- (tensor <32 x 8193 x 32 x f32 >, tensor <32 x 32 x 32 x f32 >) -> (tensor <32 x 32 x 32 x f32 >, tensor <32 x 32 x 32 x f32 >)
484- return %0 , %1 : tensor <32 x 32 x 32 x f32 >, tensor <32 x 32 x 32 x f32 >
483+ (tensor <32 x 16384 x 32 x f32 >, tensor <32 x 16384 x 32 x f32 >) -> (tensor <32 x 16384 x 32 x f32 >, tensor <32 x 16384 x 32 x f32 >)
484+ return %0 , %1 : tensor <32 x 16384 x 32 x f32 >, tensor <32 x 16384 x 32 x f32 >
485485}
486486
487487// -----
488488
489- func.func @test_fft2d_real_w (%arg0: tensor <32 x 32 x 8193 x f32 >, %arg1: tensor <32 x 32 x 32 x f32 >) -> (tensor <32 x 32 x 32 x f32 >, tensor <32 x 32 x 32 x f32 >) {
489+ func.func @test_fft2d_real_w (%arg0: tensor <32 x 32 x 16384 x f32 >, %arg1: tensor <32 x 32 x 16384 x f32 >) -> (tensor <32 x 32 x 16384 x f32 >, tensor <32 x 32 x 16384 x f32 >) {
490490 // expected-error@+1 {{'tosa.fft2d' op failed level check: W <= MAX_KERNEL}}
491491 %0 , %1 = " tosa.fft2d" (%arg0 , %arg1 ) { inverse = false } :
492- (tensor <32 x 32 x 8193 x f32 >, tensor <32 x 32 x 32 x f32 >) -> (tensor <32 x 32 x 32 x f32 >, tensor <32 x 32 x 32 x f32 >)
493- return %0 , %1 : tensor <32 x 32 x 32 x f32 >, tensor <32 x 32 x 32 x f32 >
492+ (tensor <32 x 32 x 16384 x f32 >, tensor <32 x 32 x 16384 x f32 >) -> (tensor <32 x 32 x 16384 x f32 >, tensor <32 x 32 x 16384 x f32 >)
493+ return %0 , %1 : tensor <32 x 32 x 16384 x f32 >, tensor <32 x 32 x 16384 x f32 >
494494}
495495
496496// -----
497497
498- func.func @test_fft2d_imag_h (%arg0: tensor <32 x 32 x 32 x f32 >, %arg1: tensor <32 x 8193 x 32 x f32 >) -> (tensor <32 x 32 x 32 x f32 >, tensor <32 x 32 x 32 x f32 >) {
498+ func.func @test_fft2d_imag_h (%arg0: tensor <32 x 16384 x 32 x f32 >, %arg1: tensor <32 x 16384 x 32 x f32 >) -> (tensor <32 x 16384 x 32 x f32 >, tensor <32 x 16384 x 32 x f32 >) {
499499 // expected-error@+1 {{'tosa.fft2d' op failed level check: H <= MAX_KERNEL}}
500500 %0 , %1 = " tosa.fft2d" (%arg0 , %arg1 ) { inverse = false } :
501- (tensor <32 x 32 x 32 x f32 >, tensor <32 x 8193 x 32 x f32 >) -> (tensor <32 x 32 x 32 x f32 >, tensor <32 x 32 x 32 x f32 >)
502- return %0 , %1 : tensor <32 x 32 x 32 x f32 >, tensor <32 x 32 x 32 x f32 >
501+ (tensor <32 x 16384 x 32 x f32 >, tensor <32 x 16384 x 32 x f32 >) -> (tensor <32 x 16384 x 32 x f32 >, tensor <32 x 16384 x 32 x f32 >)
502+ return %0 , %1 : tensor <32 x 16384 x 32 x f32 >, tensor <32 x 16384 x 32 x f32 >
503503}
504504
505505// -----
506506
507- func.func @test_fft2d_imag_w (%arg0: tensor <32 x 32 x 32 x f32 >, %arg1: tensor <32 x 32 x 8193 x f32 >) -> (tensor <32 x 32 x 32 x f32 >, tensor <32 x 32 x 32 x f32 >) {
507+ func.func @test_fft2d_imag_w (%arg0: tensor <32 x 32 x 16384 x f32 >, %arg1: tensor <32 x 32 x 16384 x f32 >) -> (tensor <32 x 32 x 16384 x f32 >, tensor <32 x 32 x 16384 x f32 >) {
508508 // expected-error@+1 {{'tosa.fft2d' op failed level check: W <= MAX_KERNEL}}
509509 %0 , %1 = " tosa.fft2d" (%arg0 , %arg1 ) { inverse = false } :
510- (tensor <32 x 32 x 32 x f32 >, tensor <32 x 32 x 8193 x f32 >) -> (tensor <32 x 32 x 32 x f32 >, tensor <32 x 32 x 32 x f32 >)
511- return %0 , %1 : tensor <32 x 32 x 32 x f32 >, tensor <32 x 32 x 32 x f32 >
510+ (tensor <32 x 32 x 16384 x f32 >, tensor <32 x 32 x 16384 x f32 >) -> (tensor <32 x 32 x 16384 x f32 >, tensor <32 x 32 x 16384 x f32 >)
511+ return %0 , %1 : tensor <32 x 32 x 16384 x f32 >, tensor <32 x 32 x 16384 x f32 >
512512}
513513
514514// -----
@@ -577,18 +577,18 @@ func.func @test_maxpool2d_pad_right(%arg0: tensor<1x32x32x8xf32>) -> tensor<1x32
577577
578578// -----
579579
580- func.func @test_rfft2d_input_h (%arg0: tensor <13 x 8193 x 16 x f32 >) -> (tensor <13 x 8 x 9 x f32 >, tensor <13 x 8 x 9 x f32 >) {
580+ func.func @test_rfft2d_input_h (%arg0: tensor <13 x 16384 x 16 x f32 >) -> (tensor <13 x 16384 x 9 x f32 >, tensor <13 x 16384 x 9 x f32 >) {
581581 // expected-error@+1 {{'tosa.rfft2d' op failed level check: H <= MAX_KERNEL}}
582- %0 , %1 = " tosa.rfft2d" (%arg0 ) {} : (tensor <13 x 8193 x 16 x f32 >) -> (tensor <13 x 8 x 9 x f32 >, tensor <13 x 8 x 9 x f32 >)
583- return %0 , %1 : tensor <13 x 8 x 9 x f32 >, tensor <13 x 8 x 9 x f32 >
582+ %0 , %1 = " tosa.rfft2d" (%arg0 ) {} : (tensor <13 x 16384 x 16 x f32 >) -> (tensor <13 x 16384 x 9 x f32 >, tensor <13 x 16384 x 9 x f32 >)
583+ return %0 , %1 : tensor <13 x 16384 x 9 x f32 >, tensor <13 x 16384 x 9 x f32 >
584584}
585585
586586// -----
587587
588- func.func @test_rfft2d_input_w (%arg0: tensor <13 x 8 x 8193 x f32 >) -> (tensor <13 x 8 x 9 x f32 >, tensor <13 x 8 x 9 x f32 >) {
588+ func.func @test_rfft2d_input_w (%arg0: tensor <13 x 8 x 16384 x f32 >) -> (tensor <13 x 8 x 8193 x f32 >, tensor <13 x 8 x 8193 x f32 >) {
589589 // expected-error@+1 {{'tosa.rfft2d' op failed level check: W <= MAX_KERNEL}}
590- %0 , %1 = " tosa.rfft2d" (%arg0 ) {} : (tensor <13 x 8 x 8193 x f32 >) -> (tensor <13 x 8 x 9 x f32 >, tensor <13 x 8 x 9 x f32 >)
591- return %0 , %1 : tensor <13 x 8 x 9 x f32 >, tensor <13 x 8 x 9 x f32 >
590+ %0 , %1 = " tosa.rfft2d" (%arg0 ) {} : (tensor <13 x 8 x 16384 x f32 >) -> (tensor <13 x 8 x 8193 x f32 >, tensor <13 x 8 x 8193 x f32 >)
591+ return %0 , %1 : tensor <13 x 8 x 8193 x f32 >, tensor <13 x 8 x 8193 x f32 >
592592}
593593
594594// -----
0 commit comments