@@ -28,9 +28,10 @@ struct ZetaFunctionParams
2828 vars_reversed:: Bool
2929 fastevaluation:: Bool
3030 always_use_bigints:: Bool
31+ use_gpu:: Bool
3132end
3233
33- default_params () = ZetaFunctionParams (false ,false ,:costachunks ,:invlex ,true ,false ,false )
34+ default_params () = ZetaFunctionParams (false ,false ,:costachunks ,:invlex ,true ,false ,false , false )
3435
3536"""
3637 compute_frobenius_matrix(n,d,Reductions,T)
@@ -269,7 +270,7 @@ vars_reversed -- reverses the order of basis vectors at various places
269270>>>if you don't know what this is, ignore it.
270271
271272"""
272- function zeta_function (f; S= [- 1 ], verbose= false , givefrobmat= false , algorithm= :costachunks , termorder= :invlex , vars_reversed= true , fastevaluation= false , always_use_bigints= false )
273+ function zeta_function (f; S= [- 1 ], verbose= false , givefrobmat= false , algorithm= :costachunks , termorder= :invlex , vars_reversed= true , fastevaluation= false , always_use_bigints= false , use_gpu = false )
273274 p = Int64 (characteristic (parent (f)))
274275 q = p
275276 n = nvars (parent (f)) - 1
@@ -281,7 +282,7 @@ function zeta_function(f; S=[-1], verbose=false, givefrobmat=false, algorithm=:c
281282 d = total_degree (f)
282283 R = coefficient_ring (PR)
283284
284- params = ZetaFunctionParams (verbose,givefrobmat,algorithm,termorder,vars_reversed,fastevaluation,always_use_bigints)
285+ params = ZetaFunctionParams (verbose,givefrobmat,algorithm,termorder,vars_reversed,fastevaluation,always_use_bigints,use_gpu )
285286
286287 (9 < verbose) && println (" Working with a degree $d hypersurface in P^$n " )
287288
0 commit comments