Skip to content

Commit

Permalink
plus
Browse files Browse the repository at this point in the history
  • Loading branch information
pearce8 authored Nov 19, 2024
1 parent 9b3c1d9 commit 11e4d09
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/benchpark/rocm.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ class ROCmExperiment:

class Helper(ExperimentHelper):
def get_helper_name_prefix(self):
return "rocm" if self.spec.satisfies("rocm") else ""
return "rocm" if self.spec.satisfies("+rocm") else ""

def get_spack_variants(self):
return (
"+rocm amdgpu_target={rocm_arch}"
if self.spec.satisfies("rocm")
if self.spec.satisfies("+rocm")
else "~rocm"
)

0 comments on commit 11e4d09

Please sign in to comment.