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

Test utilities #28

Closed
wants to merge 5 commits into from
Closed

Test utilities #28

wants to merge 5 commits into from

Conversation

sakchal
Copy link
Contributor

@sakchal sakchal commented Mar 13, 2024

This PR introduces a utility functions to reduce redundancy found in many test functions.

return dtype == c32 or dtype == c64


def is_system_supported(dtype: Dtype) -> bool:
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
def is_system_supported(dtype: Dtype) -> bool:
def is_type_supported(dtype: Dtype) -> bool:

You want to do the same for f16 if we are supporting that

@sakchal sakchal closed this Mar 13, 2024
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