График
This commit is contained in:
@@ -42,11 +42,10 @@ def plot_time(output_path: Path) -> None:
|
||||
marker="s",
|
||||
linewidth=2.2,
|
||||
color="#d62728",
|
||||
label="CUDA-реализация",
|
||||
label="Собственная реализация",
|
||||
)
|
||||
plt.xlabel("Размер матрицы N")
|
||||
plt.ylabel("Время решения, мс")
|
||||
plt.title("Сравнение времени решения")
|
||||
plt.legend(loc="upper left")
|
||||
plt.tight_layout()
|
||||
plt.savefig(output_path, bbox_inches="tight")
|
||||
@@ -69,11 +68,10 @@ def plot_gflops(output_path: Path) -> None:
|
||||
marker="s",
|
||||
linewidth=2.2,
|
||||
color="#d62728",
|
||||
label="CUDA-реализация",
|
||||
label="Собственная реализация",
|
||||
)
|
||||
plt.xlabel("Размер матрицы N")
|
||||
plt.ylabel("Производительность, GFLOPS")
|
||||
plt.title("Сравнение производительности")
|
||||
plt.legend(loc="upper left")
|
||||
plt.tight_layout()
|
||||
plt.savefig(output_path, bbox_inches="tight")
|
||||
|
||||
Reference in New Issue
Block a user