osu-micro-benchmarks: fix AMDGPU_TARGET issue (#48171)
Co-authored-by: Matt Lieber <lieber.31@osu.edu>
This commit is contained in:
parent
0850e0bf08
commit
93a0c0eafd
@ -69,7 +69,7 @@ def configure_args(self):
|
||||
config_args.extend(["--enable-rocm", "--with-rocm=%s" % spec["hip"].prefix])
|
||||
rocm_arch = spec.variants["amdgpu_target"].value
|
||||
if "none" not in rocm_arch:
|
||||
config_args.append("HCC_AMDGPU_TARGET=" + " ".join(self.hip_flags(rocm_arch)))
|
||||
config_args.append("HCC_AMDGPU_TARGET=" + self.hip_flags(rocm_arch))
|
||||
|
||||
if "+papi" in spec:
|
||||
config_args.extend(["--enable-papi", "--with-papi=%s" % spec["papi"].prefix])
|
||||
|
Loading…
Reference in New Issue
Block a user