Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor malloc allocation #201

Open
gonzalobg opened this issue Jun 3, 2024 · 0 comments
Open

Refactor malloc allocation #201

gonzalobg opened this issue Jun 3, 2024 · 0 comments

Comments

@gonzalobg
Copy link
Contributor

gonzalobg commented Jun 3, 2024

Currently, some of the benchmarks allocate memory that's accessed from the kernels using:

  • malloc
  • aligned_alloc(2MiB, ...)
  • C++ new
  • vendor specific apis (cudaMallocManaged, etc.)

How the memory is allocated does impact benchmark performance a bit.

I think we should extract these into their own file, to ensure all benchmarks may pick the exact same defaults.

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

No branches or pull requests

1 participant