The macro __AMDGCN_WAVEFRONT_SIZE has been removed in ROCm 7.2, preventing use of MallocMC with this compiler.
ROCm 7.1 shows the deprecation warning warning: macro '__AMDGCN_WAVEFRONT_SIZE' has been marked as deprecated: compile-time-constant access to the wavefront size will be removed in a future release and 7.2 simply fails with error: use of undeclared identifier '__AMDGCN_WAVEFRONT_SIZE'