diff --git a/src/omniperf_profile/profiler_base.py b/src/omniperf_profile/profiler_base.py index a26a968d04..86d13e9f05 100644 --- a/src/omniperf_profile/profiler_base.py +++ b/src/omniperf_profile/profiler_base.py @@ -270,14 +270,7 @@ class OmniProfiler_Base: # verify soc compatibility if self.__profiler not in self._soc.get_compatible_profilers(): - error( - "%s is not enabled in %s. Available profilers include: %s" - % ( - self._soc.get_soc_name(), - self.__profiler, - self._soc.get_compatible_profilers(), - ) - ) + error("%s is not enabled in %s. Available profilers include: %s" % (self._soc.get_arch(), self.__profiler, self._soc.get_compatible_profilers())) # verify not accessing parent directories if ".." in str(self.__args.path): error("Access denied. Cannot access parent directories in path (i.e. ../)") diff --git a/src/omniperf_soc/soc_gfx942.py b/src/omniperf_soc/soc_gfx942.py index c6a79fe259..20ed5cdd9a 100644 --- a/src/omniperf_soc/soc_gfx942.py +++ b/src/omniperf_soc/soc_gfx942.py @@ -59,7 +59,7 @@ class gfx942_soc (OmniSoC_Base): "TCC_channels": 32, } ) - self.roofline_obj = Roofline(args, self.__mspec) + self.roofline_obj = Roofline(args, self._mspec) # Set arch specific specs self._mspec.L2Banks = 16