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

Unify single and double precision avx backend code #1254

Closed

Conversation

sebastiangrimberg
Copy link
Collaborator

Similar to the xsmm backend done in #1248, this removes duplicate code between the fp64 and fp32 implementations.

@jeremylt
Copy link
Member

Unfortunately, since this is a branch on your fork, our GitLab CI cannot run in this PR. But that's where the single precision tests occur.

@@ -36,11 +36,6 @@ static int CeedTensorContractApply_Ref(CeedTensorContract contract, CeedInt A, C
return CEED_ERROR_SUCCESS;
}

//------------------------------------------------------------------------------
Copy link
Member

Choose a reason for hiding this comment

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

This is here intentionally - this isn't needed for functionality but the ref backend is the "example" other people can use to make their own backend, so I kept this in as in example.

@sebastiangrimberg
Copy link
Collaborator Author

Closing in favor of #1255.

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

Successfully merging this pull request may close these issues.

2 participants