Skip to content

[TASK] Build an Operator Generation and Compilation Agentic Workflow for TileLang-RISCV #1

@zhanghb97

Description

@zhanghb97

Deliverable

A Codex-compatible workflow

Task Description

Build an Operator Generation and Compilation Agentic Workflow for TileLang-RISCV to assist Codex in generating, completing, compiling, and testing TileLang operators on RISC-V platforms.

Review the existing operator implementations, scheduling templates, compilation flow, and testing methods in TileLang-RISCV, and organize them into task contexts that Codex can understand and follow. The context should include operator semantics, reference implementations, suggested files to modify, scheduling strategy, compilation commands, test commands, and success criteria.

Design and implement a simple Codex task generation flow that can generate a task description file for a given operator and guide Codex to complete the operator development process step by step. The generated task should clearly describe the expected operator behavior, input/output shapes, data types, baseline implementation, TileLang schedule, RISC-V compilation path, and validation method.

Select 2 to 3 new operators as initial validation targets, and use the workflow to try generating or completing their implementations in TileLang-RISCV. The selected operators should preferably cover different computation patterns, such as element-wise computation, reduction, and matrix/tensor computation, so that the workflow can be evaluated across multiple operator categories.

For each generated or completed operator, run the TileLang-RISCV compilation flow and basic correctness tests, then record the compilation results, test results, failure logs, and possible failure reasons. If compilation or testing fails, summarize whether the issue comes from the generated TileLang code, the scheduling strategy, the RISC-V lowering path, runtime support, or test configuration.

Summarize the effectiveness of the workflow in operator generation, compilation validation, and error feedback. The final workflow should serve as a reusable foundation for scaling to more TileLang operators, improving TileLang-RISCV compiler coverage, and enabling more automated operator development on RISC-V.

Schedule

Coding phase: 2026.6.1 - 2026.6.7
Code Review: Begins on 2026.6.8

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions