Skip to content

Conversation

PatKamin
Copy link
Contributor

Fix syclpreview benchmarks running twice for each scenario.

GraphApiFinalizeGraph(self, RUNTIMES.SYCL, 1, "Llama"),
]
for profiler_type in profiler_types:
for measure_cpu in [0, 1]:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can I ask why we're changing from profiler_type to a boolean for measure_cpu? Are we not expecting to have more profiler types in the future?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've tried to make changes cleaner. Created an enum instead. This brings both clarity and extensibility to this code (hopefully).

@ianayl
Copy link
Contributor

ianayl commented Sep 18, 2025

This is a lot cleaner than before! Changes look good, but I will wait for test runs first before approving.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants