kernelfoundry.algorithm.promptsΒΆ

Prompt construction module for kernel generation

Modules

feedback_llm

Handler for LLM that provides feedback based on console output and documentation.

languages

Define extraction patterns, file endings, and profiler for all supported languages

meta_prompting

Meta-Prompting database and manager for evolving parts of the prompt.

optimization_aware

Optimization-aware prompting that adds direct, actionable guidance for LLMs.

prompt_constructor

Prompt construction based on RAG databases, templates, and examples.

prompt_evolution_integration

Interface to integrate prompt evolution with controller.

template_manager

Template rendering utilities for prompt assembly in kernel generation.