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

mpz_print function defined in mpz.h is not working #1

Open
mariay201093 opened this issue Apr 17, 2017 · 0 comments
Open

mpz_print function defined in mpz.h is not working #1

mariay201093 opened this issue Apr 17, 2017 · 0 comments

Comments

@mariay201093
Copy link

In kernel.cu, if I add a printf statement for example printf("\nHello") it works properly. But if I want to print the value of any variable like op1, op2 or sum used in kernel.cu, it does not give the output on the console.
I referred the mpz.h file and found a mpz_print(mpz_t *mpz) function defined in it but that too does not work.
I want to know the value of variable sum after the computation in gpu and hence require the printf statement. Can you please help me with this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant