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

bandwidthtest.cu shows GB/s, but the math looks like MB/s #12

Closed
kollcook opened this issue Apr 5, 2018 · 1 comment
Closed

bandwidthtest.cu shows GB/s, but the math looks like MB/s #12

kollcook opened this issue Apr 5, 2018 · 1 comment

Comments

@kollcook
Copy link

kollcook commented Apr 5, 2018

printf(" Host to Device bandwidth (GB/s): %f\n", bytes * 1e-6 / time);

This line looks like it translates bytes to MB. Wouldn't GM be: "bytes * 1e-9"?

@harrism
Copy link
Member

harrism commented Jul 20, 2018

Time is in milliseconds.

@harrism harrism closed this as completed Jul 20, 2018
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

2 participants