facebookresearch / CompilerGym

Reinforcement learning environments for compiler and program optimization tasks
https://compilergym.ai/
MIT License
880 stars 123 forks source link

How to tune benchmark with the objective of runtime and set up a custom benchmark in gcc environment. #812

Open Panhaolin2001 opened 11 months ago

Panhaolin2001 commented 11 months ago

❓ Questions and Help

Hi I want to use the gcc environment to tune the benchmark with the objective of runtime, what kind of code or command should I write? Also, how do I set up a custom benchmark in a gcc environment ? thx!!