TomographicImaging / CIL-ASTRA

Apache License 2.0
2 stars 5 forks source link

ASTRA reuse memory #94

Closed gfardell closed 3 years ago

gfardell commented 3 years ago

Infrastructure to pass memory to astra is not working: https://github.com/TomographicImaging/CIL-ASTRA/blob/5c14136c69aa1623ad8726f923c62cf468c9a466/Wrappers/Python/cil/plugins/astra/processors/AstraForwardProjectorVec.py#L85

Isn't a method in this class.

But the code can never take this route as out is not passed by the wrapping operator:

https://github.com/TomographicImaging/CIL-ASTRA/blob/5c14136c69aa1623ad8726f923c62cf468c9a466/Wrappers/Python/cil/plugins/astra/operators/AstraProjectorFlexible.py#L37-L51