Skip to content

Commit

Permalink
Make num_devices modifier global in scope
Browse files Browse the repository at this point in the history
Signed-off-by: coleramos425 <colramos@amd.com>
  • Loading branch information
coleramos425 committed Nov 27, 2024
1 parent 4f77968 commit e224529
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/test_profile_general.py
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,7 @@ def run(cmd):


def gpu_soc():
global num_devices
## 1) Parse arch details from rocminfo
rocminfo = str(
# decode with utf-8 to account for rocm-smi changes in latest rocm
Expand Down

0 comments on commit e224529

Please sign in to comment.