DiamondLightSource / DiamondLightSource/adPython
Providing a numpy ndarray view onto a non-contiguous bit of memory
Đang mở
- Ngôn ngữ chính
- Python
- Star
- 0
- Fork
- 4
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
We do a memcpy to get the numpy array int an NDArray, we should be using:
https://docs.scipy.org/doc/numpy/reference/c-api.array.html#c.PyArray_CopyInto
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Hướng nghiên cứu
Start by locating the memcpy that copies into the NumPy NDArray and compare it with NumPy's PyArray_CopyInto API documentation. Done means the non-contiguous-memory path uses that API instead of memcpy and preserves the intended ndarray contents; no file or test is named in the issue.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- numpy, python
- Lĩnh vực
- backend
- Loại issue
- Lỗi
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 25/100