diff --git a/result_server/routes/home.py b/result_server/routes/home.py index 593a47b..6f1c095 100644 --- a/result_server/routes/home.py +++ b/result_server/routes/home.py @@ -1,3 +1,5 @@ +import os + from flask import render_template from utils.system_info import get_all_systems_info @@ -7,9 +9,18 @@ "add_app": "https://github.com/RIKEN-RCCS/benchkit/blob/main/docs/guides/add-app.md", "add_site": "https://github.com/RIKEN-RCCS/benchkit/blob/main/docs/guides/add-site.md", "add_estimation": "https://github.com/RIKEN-RCCS/benchkit/blob/main/docs/guides/add-estimation.md", + "perftools": "https://github.com/masaaki-kondo/PerfTools", + "benchpark_fn_apps": "https://github.com/RIKEN-RCCS/benchpark/blob/FN_apps/User_Guide.md", + "benchpark_upstream": "https://github.com/llnl/benchpark", } +def build_guide_links(): + links = dict(GUIDE_LINKS) + links["discord"] = os.environ.get("CX_DISCORD_INVITE_URL", "") + return links + + def register_home_routes(app, prefix=""): def homepage(): systems_info = get_all_systems_info() @@ -30,7 +41,7 @@ def homepage(): "home.html", systems=systems, system_count=len(systems), - guide_links=GUIDE_LINKS, + guide_links=build_guide_links(), ) app.add_url_rule(f"{prefix}/", endpoint="home", view_func=homepage, strict_slashes=False) diff --git a/result_server/templates/home.html b/result_server/templates/home.html index 5c0c494..2461316 100644 --- a/result_server/templates/home.html +++ b/result_server/templates/home.html @@ -283,6 +283,12 @@
+ CX Portal stores GPU kernel-level estimation artifacts together with benchmark results, including prepared inputs, prediction outputs, logs, and package comparison data. +
+