Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add extra relevant changes for print_expwork that were elided in forum post #9

Open
wants to merge 1 commit into
base: print_expwork
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions cudawrapper.c
Original file line number Diff line number Diff line change
Expand Up @@ -566,6 +566,7 @@ gpu_ecm (mpz_t f, mpz_t x, int param, mpz_t firstsigma, mpz_t n, mpz_t go,
{
rhoinit (256, 10);
print_expcurves (B1, B2, dF, k, root_params.S, param);
print_expwork (B1, B2, dF, k, root_params.S, param, *nb_curves);
}
}

Expand Down
3 changes: 3 additions & 0 deletions ecm-impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -335,6 +335,9 @@ int set_stage_2_params (mpz_t, mpz_t, mpz_t, mpz_t, root_params_t *,
#define print_expcurves __ECM(print_expcurves)
void print_expcurves (double, const mpz_t, unsigned long, unsigned long, int,
int);
#define print_expwork __ECM(print_expwork)
void print_expwork (double, const mpz_t, unsigned long, unsigned long, int,
int, unsigned int);
#define print_exptime __ECM(print_exptime)
void print_exptime (double, const mpz_t, unsigned long, unsigned long, int,
double, int);
Expand Down