facebookresearch / CompilerGym

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

Add a "deterministic" field to the Command protocol buffer #576

Open ChrisCummins opened 2 years ago

ChrisCummins commented 2 years ago

🚀 Feature

The Command protocol buffer is used to describe build commands, execution commands, etc. Adding a property to indicate that a command is deterministic would be useful for things like enabling build artifacts to be cached, and automatically detecting that a benchmark can be used for differential testing.

RAJULDEV commented 1 year ago

Hey @ChrisCummins I am new to open source. Can you help me how to get started? If no one is assigned you can assign me.

ChrisCummins commented 1 year ago

Hey Rajuldev, sure, happy for you to take this!

Here is where the Command protocol buffer is defined:

https://github.com/facebookresearch/CompilerGym/blob/development/compiler_gym/service/proto/compiler_gym_service.proto#L462-L476

For tips on getting started have a read through this document:

https://github.com/facebookresearch/CompilerGym/blob/development/CONTRIBUTING.md

Cheers, Chris