caliper +rocm: use hipcc for CMAKE_CXX_COMPILER (#35219)
This commit is contained in:
parent
6afa2d6298
commit
d0cba2bf35
1 changed files with 1 additions and 0 deletions
|
@ -138,6 +138,7 @@ def cmake_args(self):
|
|||
args.append("-DCUPTI_PREFIX=%s" % spec["cuda"].prefix)
|
||||
|
||||
if "+rocm" in spec:
|
||||
args.append("-DCMAKE_CXX_COMPILER={0}".format(spec["hip"].hipcc))
|
||||
args.append("-DROCM_PREFIX=%s" % spec["hsa-rocr-dev"].prefix)
|
||||
|
||||
return args
|
||||
|
|
Loading…
Reference in a new issue