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

Added using jax numpy for linspace #4

Merged
merged 1 commit into from
Jun 13, 2023

Conversation

jczaja
Copy link
Contributor

@jczaja jczaja commented Jun 13, 2023

Problem:
When using bigger values for GORDON_NM like 1000000000 initialization time of linspace() is quite huge and it cloud the profiling efforts. So It would be good to speed it up.

Solution:
jax.numpy.linspace() is faster across tested devices (Intel CPU, Intel GPU, Intel XPU) than numpy.linspace(). It will help with more efficient performance profiling of those tests.

@beckermr beckermr merged commit 0f3d5f7 into ArgonneCPAC:master Jun 13, 2023
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