DiamondLightSource / DiamondLightSource/adPython
Providing a numpy ndarray view onto a non-contiguous bit of memory
Aperta
- Lingua principale
- Python
- Stelle
- 0
- Fork
- 4
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- numpy, python
- Ambito
- backend
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 25/100