-
Notifications
You must be signed in to change notification settings - Fork 79
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
Commits on Aug 22, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 7b07d0f - Browse repository at this point
Copy the full SHA 7b07d0fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 71fa58a - Browse repository at this point
Copy the full SHA 71fa58aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 98efe74 - Browse repository at this point
Copy the full SHA 98efe74View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6dd63cb - Browse repository at this point
Copy the full SHA 6dd63cbView commit details -
Configuration menu - View commit details
-
Copy full SHA for e2cbfa2 - Browse repository at this point
Copy the full SHA e2cbfa2View commit details -
Configuration menu - View commit details
-
Copy full SHA for f8b04e3 - Browse repository at this point
Copy the full SHA f8b04e3View commit details
Commits on Aug 23, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 6f984cb - Browse repository at this point
Copy the full SHA 6f984cbView commit details -
cuda-python: factor out compatibility layer
Leave this in a separate module for reuse in other places.
Configuration menu - View commit details
-
Copy full SHA for 1c437c2 - Browse repository at this point
Copy the full SHA 1c437c2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 926b3ad - Browse repository at this point
Copy the full SHA 926b3adView commit details -
Configuration menu - View commit details
-
Copy full SHA for be2411d - Browse repository at this point
Copy the full SHA be2411dView commit details -
Configuration menu - View commit details
-
Copy full SHA for ae39257 - Browse repository at this point
Copy the full SHA ae39257View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0154868 - Browse repository at this point
Copy the full SHA 0154868View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9eebe55 - Browse repository at this point
Copy the full SHA 9eebe55View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4244540 - Browse repository at this point
Copy the full SHA 4244540View commit details -
cuda-python: use
torch.as_tensor
Looks like `torch.asarray` was introduced in v1.11, so for backwards compatibility, we use `as_tensor` instead.
Configuration menu - View commit details
-
Copy full SHA for 15e3d0f - Browse repository at this point
Copy the full SHA 15e3d0fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8371776 - Browse repository at this point
Copy the full SHA 8371776View commit details -
Should be using `_data`, not `data` since the former has been transformed to the appropriate dtype, stride, and shape.
Configuration menu - View commit details
-
Copy full SHA for 8df027a - Browse repository at this point
Copy the full SHA 8df027aView commit details -
Configuration menu - View commit details
-
Copy full SHA for ab64862 - Browse repository at this point
Copy the full SHA ab64862View commit details
Commits on Aug 24, 2023
-
tests: add
--framework
opt to pytestAllows 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).
Configuration menu - View commit details
-
Copy full SHA for baa863b - Browse repository at this point
Copy the full SHA baa863bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 593abf0 - Browse repository at this point
Copy the full SHA 593abf0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 79df4a3 - Browse repository at this point
Copy the full SHA 79df4a3View commit details -
tests: remove
test_type2_ordering
Now subsumed by regular `test_type2`
Configuration menu - View commit details
-
Copy full SHA for a21dcca - Browse repository at this point
Copy the full SHA a21dccaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 680d293 - Browse repository at this point
Copy the full SHA 680d293View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6aaea6b - Browse repository at this point
Copy the full SHA 6aaea6bView commit details -
Configuration menu - View commit details
-
Copy full SHA for d046c75 - Browse repository at this point
Copy the full SHA d046c75View commit details -
cuda-python: fix bug in torch dimension check
Can't call `x.size`, need to use compatibility layer.
Configuration menu - View commit details
-
Copy full SHA for 9387e02 - Browse repository at this point
Copy the full SHA 9387e02View commit details -
tests: introduce
to_gpu
andto_cpu
fixturesAvoids having to call `util.transfer_funcs` all the time and simplifies when we only want `to_gpu`.
Configuration menu - View commit details
-
Copy full SHA for 709791e - Browse repository at this point
Copy the full SHA 709791eView commit details -
Configuration menu - View commit details
-
Copy full SHA for f31cfd0 - Browse repository at this point
Copy the full SHA f31cfd0View commit details -
Only for show right now, since we only test the `pycuda` framework pending updated interface.
Configuration menu - View commit details
-
Copy full SHA for 3e32e01 - Browse repository at this point
Copy the full SHA 3e32e01View commit details -
Shows that these are *pycuda* examples, not for the other frameworks (to be added later).
Configuration menu - View commit details
-
Copy full SHA for d9c3036 - Browse repository at this point
Copy the full SHA d9c3036View commit details -
Configuration menu - View commit details
-
Copy full SHA for abb43c3 - Browse repository at this point
Copy the full SHA abb43c3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 97b0e21 - Browse repository at this point
Copy the full SHA 97b0e21View commit details -
Configuration menu - View commit details
-
Copy full SHA for eb153f8 - Browse repository at this point
Copy the full SHA eb153f8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 56fad53 - Browse repository at this point
Copy the full SHA 56fad53View commit details -
cuda-python: remove pycuda from requirements
Since we can run on any of the given frameworks, we no longer depend on the `pycuda` package.
Configuration menu - View commit details
-
Copy full SHA for 3911ebc - Browse repository at this point
Copy the full SHA 3911ebcView commit details