Skip to content

Conversation

@ZzEeKkAa
Copy link
Contributor

@ZzEeKkAa ZzEeKkAa commented May 3, 2024

Add experimental flag to polybench, npbench and rodinia. Add required packages to the framework. If they are not found in the environment framework simply getting disabled with a single warning message. It is much cleaner output, compare to error message on every benchmark + implementation pair that tries to run the benchmark

  • Have you provided a meaningful PR description?
  • Have you added a test, reproducer or referred to an issue with a reproducer?
  • Have you tested your changes locally for CPU and GPU devices?
  • Have you made sure that new changes do not introduce compiler warnings?
  • If this PR is a work in progress, are you filing the PR as a draft?

Closes #297
Closes #298
Closes #220

@ZzEeKkAa ZzEeKkAa marked this pull request as ready for review May 3, 2024 16:19
Copy link
Contributor

@adarshyoga adarshyoga left a comment

Choose a reason for hiding this comment

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

Overall PR looks great. Just one addition to the required packages in numba_cuda_framework.py. Also, dpcpp_framework.py needs to have dpctl as a required package.


@staticmethod
def required_packages() -> list[str]:
return ["cupy"]
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
return ["cupy"]
return ["cupy", "numba"]

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We require numba and dpctl at package level. Idea is to ignore optional frameworks. Once we remove dp* dependencies from dpbench we can add numba, dpctl and so on

@adarshyoga adarshyoga merged commit ab6ecb5 into main May 6, 2024
@adarshyoga adarshyoga deleted the feature/required_framework_packages branch May 6, 2024 21:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants