DiamondLightSource / DiamondLightSource/adPython

Providing a numpy ndarray view onto a non-contiguous bit of memory

未關閉
#1 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
Python
星號
0
分支
4
PR 合併指標
30 天內沒有已合併 PR

描述

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

貢獻指南

這個儲存庫沒有索引到貢獻指南

研究方向

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.

由索引模型根據 Issue 內容生成。

評估

技術堆疊
numpy, python
領域
backend
Issue 類型
缺陷
難度
4/5
預估耗時
3-5 天
活躍度
停滯
描述清晰度
基本清楚
新手友好度
25/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。