Skip to content

buddy-compiler/compiler-eval

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

compiler-eval

Steps

  1. Activate a Python virtual environment and install required dependencies:
conda activate <your-env>
pip install -r requirements.txt
  1. Run the compiler-eval script:
python compiler_eval.py

You will be guided through an interactive process to:

  • Configure your LLM platform;

  • Select a kernel directory containing the C source;

  • Generate assembly code from the C source using your selected LLM;

  • Compile and execute both the generated assembly and the reference implementation;

  • Compare the results and save logs.

  1. Customize the prompt:

The default prompt is automatically created at compiler-eval/.prompt.txt. You can edit this file to adjust the behavior of code generation.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •