Skip to content

Commit

Permalink
Formatting fix
Browse files Browse the repository at this point in the history
  • Loading branch information
rraminen@amd.com authored and rraminen committed May 14, 2024
1 parent 88c7be4 commit c87c4f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion op_builder/builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ def get_rocm_gpu_arch():
def get_rocm_wavefront_size():
if OpBuilder._rocm_wavefront_size:
return OpBuilder._rocm_wavefront_size
rocm_wavefront_size_cmd = "/opt/rocm/bin/rocminfo | grep -Eo -m1 'Wavefront Size:\s+[0-9]+' | grep -Eo '[0-9]+'"
rocm_wavefront_size_cmd = "/opt/rocm/bin/rocminfo | grep -Eo -m1 'Wavefront Size:[[:space:]]+[0-9]+' | grep -Eo '[0-9]+'"
try:
result = subprocess.check_output(rocm_wavefront_size_cmd, shell=True)
rocm_wavefront_size = result.decode('utf-8').strip()
Expand Down

0 comments on commit c87c4f3

Please sign in to comment.