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

numba accelerated findDuplicateVectors #596

Merged
merged 12 commits into from
Jan 9, 2024
Merged

Commits on Jan 4, 2024

  1. first commit to numba-fy the findDuplicateVectors routine. Function i…

    …s 3x faster after first compile.
    saransh13 authored and psavery committed Jan 4, 2024
    Configuration menu
    Copy the full SHA
    34ae13c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    30f9bde View commit details
    Browse the repository at this point in the history
  3. Use nan mask only once.

    saransh13 authored and psavery committed Jan 4, 2024
    Configuration menu
    Copy the full SHA
    c877ac6 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    8b51fcf View commit details
    Browse the repository at this point in the history
  5. PEP8

    saransh13 authored and psavery committed Jan 4, 2024
    Configuration menu
    Copy the full SHA
    46011b7 View commit details
    Browse the repository at this point in the history
  6. Only check for nans once

    Signed-off-by: Patrick Avery <patrick.avery@kitware.com>
    psavery committed Jan 4, 2024
    Configuration menu
    Copy the full SHA
    a94d5cd View commit details
    Browse the repository at this point in the history

Commits on Jan 5, 2024

  1. fix logic errors.

    saransh13 committed Jan 5, 2024
    Configuration menu
    Copy the full SHA
    7101380 View commit details
    Browse the repository at this point in the history
  2. Reduce the number of numba threads

    Too many numba threads are causing allocator contention. Therefore
    we can limit the number of numba threads to 8.
    
    Signed-off-by: Patrick Avery <patrick.avery@kitware.com>
    psavery committed Jan 5, 2024
    Configuration menu
    Copy the full SHA
    3f59e9e View commit details
    Browse the repository at this point in the history

Commits on Jan 7, 2024

  1. fix bug

    saransh13 committed Jan 7, 2024
    Configuration menu
    Copy the full SHA
    b15c978 View commit details
    Browse the repository at this point in the history

Commits on Jan 9, 2024

  1. Configuration menu
    Copy the full SHA
    a15f20c View commit details
    Browse the repository at this point in the history
  2. Remove limit_numba_threads()

    It's not in parallel anymore, so we don't need it.
    
    Signed-off-by: Patrick Avery <patrick.avery@kitware.com>
    psavery committed Jan 9, 2024
    Configuration menu
    Copy the full SHA
    b764fae View commit details
    Browse the repository at this point in the history
  3. Lazily compute structure factor

    Instead of computing the structure factor every time a property of the
    material changes, flag the structure factor as invalid, and only re-compute
    it if it is requested.
    
    This significantly speeds up interaction with the lattice parameter, such
    as with the PT sliders.
    
    Signed-off-by: Patrick Avery <patrick.avery@kitware.com>
    psavery committed Jan 9, 2024
    Configuration menu
    Copy the full SHA
    bea9b1c View commit details
    Browse the repository at this point in the history