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

discretization: fix logic to detect if polynomial storage should be resized #339

Merged
merged 2 commits into from
Dec 15, 2022

Conversation

andrea-iob
Copy link
Member

The current storage size was not properly evaluated.

I've also updated the function that evaluates the polynomial coefficients: since the weight matrix is usually small, it's faster perform matrix vector multiplication using an ad-hoc code rather than using CBLAS functions..

@andrea-iob
Copy link
Member Author

I've put back the CBLAS function in the evaluation of the polynomials. The raeson I was seeing poor performances for small matrices may be related to the fact that I was using an unoptimized BLAS library.

@andrea-iob andrea-iob force-pushed the discretization.fix.storage.resize branch from e0ea52c to 774dcb9 Compare December 2, 2022 10:34
@andrea-iob
Copy link
Member Author

Rebased on current master.

@andrea-iob andrea-iob merged commit b480999 into master Dec 15, 2022
@andrea-iob andrea-iob deleted the discretization.fix.storage.resize branch December 15, 2022 17:16
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