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

Cuda array interface (clone) #333

Closed
wants to merge 35 commits into from

Commits on Aug 22, 2023

  1. Configuration menu
    Copy the full SHA
    7b07d0f View commit details
    Browse the repository at this point in the history
  2. cuda-python: remove unused import

    blackwer authored and janden committed Aug 22, 2023
    Configuration menu
    Copy the full SHA
    71fa58a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    98efe74 View commit details
    Browse the repository at this point in the history
  4. cuda: revert changes to exception strings

    blackwer authored and janden committed Aug 22, 2023
    Configuration menu
    Copy the full SHA
    6dd63cb View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    e2cbfa2 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    f8b04e3 View commit details
    Browse the repository at this point in the history

Commits on Aug 23, 2023

  1. Configuration menu
    Copy the full SHA
    6f984cb View commit details
    Browse the repository at this point in the history
  2. cuda-python: factor out compatibility layer

    Leave this in a separate module for reuse in other places.
    janden committed Aug 23, 2023
    Configuration menu
    Copy the full SHA
    1c437c2 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    926b3ad View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    be2411d View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    ae39257 View commit details
    Browse the repository at this point in the history
  6. tests: install all CUDA libraries

    Needed for cupy.
    janden committed Aug 23, 2023
    Configuration menu
    Copy the full SHA
    0154868 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    9eebe55 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    4244540 View commit details
    Browse the repository at this point in the history
  9. cuda-python: use torch.as_tensor

    Looks like `torch.asarray` was introduced in v1.11, so for backwards
    compatibility, we use `as_tensor` instead.
    janden committed Aug 23, 2023
    Configuration menu
    Copy the full SHA
    15e3d0f View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    8371776 View commit details
    Browse the repository at this point in the history
  11. cuda-python: fix bug in Plan

    Should be using `_data`, not `data` since the former has been
    transformed to the appropriate dtype, stride, and shape.
    janden committed Aug 23, 2023
    Configuration menu
    Copy the full SHA
    8df027a View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    ab64862 View commit details
    Browse the repository at this point in the history

Commits on Aug 24, 2023

  1. tests: add --framework opt to pytest

    Allows us to specify which frameworks to test. This allows us to avoid
    some crashes when different frameworks don't interact well (e.g., Numba
    will fail if it's not given the primary context).
    janden committed Aug 24, 2023
    Configuration menu
    Copy the full SHA
    baa863b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    593abf0 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    79df4a3 View commit details
    Browse the repository at this point in the history
  4. tests: remove test_type2_ordering

    Now subsumed by regular `test_type2`
    janden committed Aug 24, 2023
    Configuration menu
    Copy the full SHA
    a21dcca View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    680d293 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    6aaea6b View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    d046c75 View commit details
    Browse the repository at this point in the history
  8. cuda-python: fix bug in torch dimension check

    Can't call `x.size`, need to use compatibility layer.
    janden committed Aug 24, 2023
    Configuration menu
    Copy the full SHA
    9387e02 View commit details
    Browse the repository at this point in the history
  9. tests: introduce to_gpu and to_cpu fixtures

    Avoids having to call `util.transfer_funcs` all the time and simplifies
    when we only want `to_gpu`.
    janden committed Aug 24, 2023
    Configuration menu
    Copy the full SHA
    709791e View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    f31cfd0 View commit details
    Browse the repository at this point in the history
  11. tests: parametrize test_multi

    Only for show right now, since we only test the `pycuda` framework
    pending updated interface.
    janden committed Aug 24, 2023
    Configuration menu
    Copy the full SHA
    3e32e01 View commit details
    Browse the repository at this point in the history
  12. cuda-python: rename examples

    Shows that these are *pycuda* examples, not for the other frameworks (to
    be added later).
    janden committed Aug 24, 2023
    Configuration menu
    Copy the full SHA
    d9c3036 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    abb43c3 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    97b0e21 View commit details
    Browse the repository at this point in the history
  15. tests: fix wrong dtype check

    janden committed Aug 24, 2023
    Configuration menu
    Copy the full SHA
    eb153f8 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    56fad53 View commit details
    Browse the repository at this point in the history
  17. cuda-python: remove pycuda from requirements

    Since we can run on any of the given frameworks, we no longer depend on
    the `pycuda` package.
    janden committed Aug 24, 2023
    Configuration menu
    Copy the full SHA
    3911ebc View commit details
    Browse the repository at this point in the history