caliper +rocm: use hipcc for CMAKE_CXX_COMPILER (#35219)

This commit is contained in:
eugeneswalker 2023-05-08 11:40:23 -05:00 committed by GitHub
parent 6afa2d6298
commit d0cba2bf35
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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