diff --git a/docs/data/profile/sample-roof-plot.jpg b/docs/data/profile/sample-roof-plot.jpg new file mode 100644 index 000000000..aa11a5b5c Binary files /dev/null and b/docs/data/profile/sample-roof-plot.jpg differ diff --git a/docs/data/profile/sample-roof-plot.png b/docs/data/profile/sample-roof-plot.png deleted file mode 100644 index 2deaba7ad..000000000 Binary files a/docs/data/profile/sample-roof-plot.png and /dev/null differ diff --git a/docs/how-to/profile/mode.rst b/docs/how-to/profile/mode.rst index 5cf3f96c6..f8f0b894a 100644 --- a/docs/how-to/profile/mode.rst +++ b/docs/how-to/profile/mode.rst @@ -445,10 +445,10 @@ successfully. clutter. One chart plots FP32/FP64 performance while the other plots I8/FP16 performance. -The following image is a sample ``empirRoof_gpu-ALL_fp32_fp64.pdf`` roofline +The following image is a sample ``empirRoof_gpu-0_int8_fp16.pdf`` roofline plot. -.. image:: ../../data/profile/sample-roof-plot.png +.. image:: ../../data/profile/sample-roof-plot.jpg :align: center :alt: Sample ROCm Compute Profiler roofline output :width: 800 diff --git a/src/roofline.py b/src/roofline.py index 61d734fe4..e09b0a9c6 100644 --- a/src/roofline.py +++ b/src/roofline.py @@ -96,7 +96,7 @@ def roof_setup(self): self.__run_parameters["workload_dir"] = os.path.join( self.__run_parameters["workload_dir"], self.__args.name, - self.__mspec.gpu_series, + self.__mspec.gpu_model, ) # create new directory for roofline if it doesn't exist if not os.path.isdir(self.__run_parameters["workload_dir"]):