Skip to content

Commit e3396da

Browse files
committed
enable comments in HIP template
1 parent 91b4726 commit e3396da

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/discord-cluster-manager/cogs/leaderboard_cog.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ async def lang_autocomplete(
326326
def add_header_to_template(lang: str, lb: LeaderboardItem):
327327
template_file = lb["task"].templates[lang]
328328

329-
comment_char = {"CUDA": "//", "Python": "#", "Triton": "#"}[lang]
329+
comment_char = {"CUDA": "//", "Python": "#", "Triton": "#", "HIP": "#"}[lang]
330330

331331
description_comment = [
332332
f"{comment_char} > {line}" for line in lb["task"].description.splitlines()

0 commit comments

Comments
 (0)