caliper +rocm: use hipcc for CMAKE_CXX_COMPILER (#35219)
This commit is contained in:
@@ -138,6 +138,7 @@ def cmake_args(self):
|
|||||||
args.append("-DCUPTI_PREFIX=%s" % spec["cuda"].prefix)
|
args.append("-DCUPTI_PREFIX=%s" % spec["cuda"].prefix)
|
||||||
|
|
||||||
if "+rocm" in spec:
|
if "+rocm" in spec:
|
||||||
|
args.append("-DCMAKE_CXX_COMPILER={0}".format(spec["hip"].hipcc))
|
||||||
args.append("-DROCM_PREFIX=%s" % spec["hsa-rocr-dev"].prefix)
|
args.append("-DROCM_PREFIX=%s" % spec["hsa-rocr-dev"].prefix)
|
||||||
|
|
||||||
return args
|
return args
|
||||||
|
|||||||
Reference in New Issue
Block a user