@@ -36,15 +36,15 @@ use crate::trace::LDETraceTable;
3636
3737use super :: config:: { BatchedMerkleTree , BatchedMerkleTreeBackend , Commitment } ;
3838use super :: constraints:: evaluator:: ConstraintEvaluator ;
39- #[ cfg( feature = "cuda" ) ]
40- use crypto:: merkle_tree:: proof:: Proof ;
4139use super :: domain:: { Domain , DomainConstants } ;
4240use super :: fri:: fri_decommit:: FriDecommitment ;
4341use super :: grinding;
4442use super :: lookup:: BusPublicInputs ;
4543use super :: proof:: stark:: { DeepPolynomialOpening , MultiProof , StarkProof } ;
4644use super :: trace:: TraceTable ;
4745use super :: traits:: AIR ;
46+ #[ cfg( feature = "cuda" ) ]
47+ use crypto:: merkle_tree:: proof:: Proof ;
4848
4949pub use crate :: commitment:: { keccak_leaves_bit_reversed, keccak_leaves_row_pair_bit_reversed} ;
5050
@@ -1875,8 +1875,9 @@ pub trait IsStarkProver<
18751875 let stream = lde_trace
18761876 . bound_stream ( )
18771877 . expect ( "bound stream for device-resident composition-tree opening" ) ;
1878- crate :: gpu_lde:: gather_proofs_dev ( tree, indexes_to_open, & stream)
1879- . expect ( "device composition-tree gather failed; resident tree has no host fallback" )
1878+ crate :: gpu_lde:: gather_proofs_dev ( tree, indexes_to_open, & stream) . expect (
1879+ "device composition-tree gather failed; resident tree has no host fallback" ,
1880+ )
18801881 } ) ;
18811882
18821883 for ( qi, index) in indexes_to_open. iter ( ) . enumerate ( ) {
@@ -1892,12 +1893,9 @@ pub trait IsStarkProver<
18921893 #[ cfg( feature = "cuda" ) ]
18931894 {
18941895 if let Some ( proofs) = & main_dev_proofs {
1895- Self :: open_polys_with_proofs (
1896- domain,
1897- proofs[ qi] . clone ( ) ,
1898- * index,
1899- |row| lde_trace. gather_main_row ( row) ,
1900- )
1896+ Self :: open_polys_with_proofs ( domain, proofs[ qi] . clone ( ) , * index, |row| {
1897+ lde_trace. gather_main_row ( row)
1898+ } )
19011899 } else {
19021900 Self :: open_polys_with ( domain, & main_commit. tree , * index, |row| {
19031901 lde_trace. gather_main_row ( row)
@@ -1950,12 +1948,9 @@ pub trait IsStarkProver<
19501948 #[ cfg( feature = "cuda" ) ]
19511949 {
19521950 if let Some ( proofs) = & aux_dev_proofs {
1953- Self :: open_polys_with_proofs (
1954- domain,
1955- proofs[ qi] . clone ( ) ,
1956- * index,
1957- |row| lde_trace. gather_aux_row ( row) ,
1958- )
1951+ Self :: open_polys_with_proofs ( domain, proofs[ qi] . clone ( ) , * index, |row| {
1952+ lde_trace. gather_aux_row ( row)
1953+ } )
19591954 } else {
19601955 Self :: open_polys_with ( domain, & aux. tree , * index, |row| {
19611956 lde_trace. gather_aux_row ( row)
@@ -2098,8 +2093,8 @@ pub trait IsStarkProver<
20982093 . iter ( )
20992094 . enumerate ( )
21002095 . map ( |( idx, ( _, trace, _) ) | {
2101- let lde_size = domains [ idx ] . interpolation_domain_size
2102- * domains[ idx] . blowup_factor ;
2096+ let lde_size =
2097+ domains [ idx ] . interpolation_domain_size * domains[ idx] . blowup_factor ;
21032098 estimate_table_vram_bytes ( trace. num_main_columns , 0 , lde_size)
21042099 } )
21052100 . collect ( ) ;
@@ -2303,8 +2298,8 @@ pub trait IsStarkProver<
23032298 . iter ( )
23042299 . enumerate ( )
23052300 . map ( |( idx, ( _, trace, _) ) | {
2306- let lde_size = domains [ idx ] . interpolation_domain_size
2307- * domains[ idx] . blowup_factor ;
2301+ let lde_size =
2302+ domains [ idx ] . interpolation_domain_size * domains[ idx] . blowup_factor ;
23082303 estimate_table_vram_bytes (
23092304 trace. num_main_columns ,
23102305 trace. num_aux_columns ,
0 commit comments