Skip to content

Conversation

@aman2930
Copy link
Collaborator

@aman2930 aman2930 commented Oct 31, 2025

Adding couple of benchmarks:

  • gemm_batched
  • gemm_batched_simple

Modified some benchmarks to support multiple input and output dataTypes

@aman2930 aman2930 requested a review from susanbao October 31, 2025 14:29

def gemm_simple(
m: int, k: int, n: int, num_runs: int = 1, trace_dir: str = None
m: int, k: int, n: int,
Copy link
Collaborator

Choose a reason for hiding this comment

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

I prefer not to change my implementation on gemm_simple now as it required changes on yaml and other part. Let us focus on delivering results now. Please remove these changed on gemm_simple. Thanks.

) -> Dict[str, Any]:
# Calculate FLOPs
total_flops = 2 * m * k * n # Total floating-point operations
total_flops = (2 * k + 1) * m * n # Total floating-point operations
Copy link
Collaborator

Choose a reason for hiding this comment

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

Same as gemm_simple.

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.

3 participants