Skip to content

Commit b94cc1a

Browse files
Mention and add details in AGENTS.md (#39)
* add to cli docstring * details in AGENTS.md * Apply suggestion from @burtenshaw Co-authored-by: burtenshaw <[email protected]> --------- Co-authored-by: Mark Saroufim <[email protected]>
1 parent 79e8cd2 commit b94cc1a

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

src/cmd/mod.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ fn load_config() -> Result<Config> {
4242

4343
#[derive(Parser, Debug)]
4444
#[command(author, version = env!("CLI_VERSION"), about, long_about = None)]
45+
/// Popcorn CLI for GPU Mode competitions. Run `popcorn setup` first in each project so agents use the correct workflow and templates.
4546
pub struct Cli {
4647
#[command(subcommand)]
4748
command: Option<Commands>,
@@ -106,7 +107,7 @@ enum SubmissionsAction {
106107

107108
#[derive(Subcommand, Debug)]
108109
enum Commands {
109-
/// Bootstrap this project with Popcorn agent skills and a submission template
110+
/// Run this first: bootstrap the project with Popcorn agent skills and a submission template
110111
Setup,
111112
Reregister {
112113
#[command(subcommand)]

templates/setup/AGENTS.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
# Kernel Bot Submissions
2+
3+
The Popcorn CLI is intended to submit kernels to leaderboards on GPU Mode's Kernel Bot.
4+
5+
## Objective
6+
7+
Agents must write CUDA C and C++ kernels and integrate them into the single-file `submission.py` workflow.
8+
9+
Do not submit pure PyTorch based optimization. The objective of the task is to use any kernel DSL like CUDA or Triton to improved *beyond* the performance of native PyTorch.
10+
111
## Skills
212
A skill is a local instruction bundle stored in `SKILL.md`.
313

0 commit comments

Comments
 (0)