Skip to content

Fixed a few more unnecessary calls to num_cpu_avail. #1612

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

Merged
merged 1 commit into from
Jun 14, 2018

Conversation

oon3m0oo
Copy link
Contributor

I don't have as many benchmarks for these as for gemm, but it should still
make a difference for small matrices.

I don't have as many benchmarks for these as for gemm, but it should still
make a difference for small matrices.
@martin-frbg
Copy link
Collaborator

@ashwinyes as this touches thunderx code...

@oon3m0oo
Copy link
Contributor Author

@ashwinyes gentle ping on this. It shouldn't be too terribly controversial since the calls are essentially moot when threading isn't selected. Please do check the logic, though!

@martin-frbg
Copy link
Collaborator

Perhaps you could leave the arm64 parts of the PR until later if ashwinyes is busy ? While the changes do look harmless to me, I do not want to be responsible for breaking his Cavium server platform another time

@ashwinyes
Copy link
Contributor

Sorry for the delayed response.

I dont have any issue with this PR.

You may go ahead with the commit.

@martin-frbg
Copy link
Collaborator

Thanks for the review, merging now.

@martin-frbg martin-frbg merged commit c628c6f into OpenMathLib:develop Jun 14, 2018
@oon3m0oo oon3m0oo deleted the cpus branch June 14, 2018 15:08
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.

3 participants