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

Benchmarks: micro benchmarks - add nvbandwidth benchmark #669

Open
wants to merge 13 commits into
base: main
Choose a base branch
from

Conversation

polarG
Copy link
Contributor

@polarG polarG commented Nov 19, 2024

Description
Add nvbandwidth benchmark

nvbindwith output example:
nvbandwidth Version: v0.6
Built from Git version:

CUDA Runtime Version: 12040
CUDA Driver Version: 12040
Driver Version: 550.54.15

Device 0: NVIDIA XXXXXX

Running host_to_device_memcpy_ce.
memcpy CE CPU(row) -> GPU(column) bandwidth (GB/s)
        0         1
0    337.55    2142.4
1    2142.4    337.55

SUM host_to_device_memcpy_ce 337.55

Running device_to_host_memcpy_ce.
memcpy CE CPU(row) <- GPU(column) bandwidth (GB/s)
        0         1        2
0    295.23     241.2    254.0
1    241.2      295.2    254.0

SUM device_to_host_memcpy_ce 295.23

Waived:
Waived:
Waived:
Running host_to_device_bidirectional_memcpy_ce.
memcpy CE CPU(row) <-> GPU(column) bandwidth (GB/s)
        0
0    160.02
Waived:

Benchmark results example:

host_to_device_memcpy_ce_bandwidth_cpu0_gpu0: 337.55
host_to_device_memcpy_ce_bandwidth_cpu0_gpu1: 2142.4
host_to_device_memcpy_ce_bandwidth_cpu1_gpu0: 2142.4
host_to_device_memcpy_ce_bandwidth_cpu1_gpu1: 337.55
host_to_device_memcpy_ce_sum_bandwidth: 4859.9

@polarG polarG requested a review from a team as a code owner November 19, 2024 10:13
Copy link

codecov bot commented Nov 20, 2024

Codecov Report

Attention: Patch coverage is 91.20879% with 8 lines in your changes missing coverage. Please review.

Project coverage is 85.75%. Comparing base (c8c52eb) to head (fd87b33).

Files with missing lines Patch % Lines
...erbench/benchmarks/micro_benchmarks/nvbandwidth.py 91.11% 8 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #669      +/-   ##
==========================================
+ Coverage   85.68%   85.75%   +0.07%     
==========================================
  Files          97       98       +1     
  Lines        6952     7043      +91     
==========================================
+ Hits         5957     6040      +83     
- Misses        995     1003       +8     
Flag Coverage Δ
cpu-python3.7-unit-test 71.81% <91.20%> (+0.25%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.


🚨 Try these New Features:

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

Successfully merging this pull request may close these issues.

4 participants