Leo Fang
Leo Fang
Hi @keithroe I think my toy code above already did what you asked: > 2. populate a list of these structs in a reasonable manner in client's python code >...
> One simplifying assumption is that I never need to perform any cupy operations on the array. once I pass it to cupy it is just a data blob to...
Oops @keithroe I am sorry! I've been working with CuPy internals for far too long that I forgot what's exposed as public API 😅 The access to `cupy.cuda.memory` module as...
Maybe relevant: https://github.com/numba/numba/pull/7772
cc: @seberg for vis (both use cases above were from NVIDIA: Dask and OptiX)
Good news. To our surprise, this apparently has been working for years in CuPy: ```python arr = cp.empty(1024, dtype=a_numpy_structured_dtype) ``` @seberg has started looking into expanding the support (#9440). Our...
Q: did we mention that the behavior is undefined if it's unsorted? https://github.com/cupy/cupy/blob/9050fa6e5ce27cd1a280fd208cab5d36eb460e63/cupy/_sorting/search.py#L417
> Indeed, however this is not mentioned in the exposed function, which can be quite confusing for the user. Thanks, this is what I missed. Indeed it'd require all functions...
It's already doable without any code change on the CuPy side. I should have sent a PR to document the trick: Prerequisite for the trick: 1. CuPy can dump the...
@Devdoot57 let us know if you'd like us to take over, or if you'd have some time to make updates!