Nikolay Chirkov
2d9a969d10
Tensor1: memorize size_alignment when tracking the ahwb usage.
...
When CPU/GPU buffer allocated and the tracker selects Ahwb storage to be used then the properly recorded alignment must be used.
PiperOrigin-RevId: 498264759
2022-12-28 16:09:02 -08:00
Nikolay Chirkov
1924f1cdff
Tensor: Fix use_ahwb_ flag and tests on local device involved.
...
PiperOrigin-RevId: 498249332
2022-12-28 14:29:43 -08:00
Nikolay Chirkov
ef3fa67bf4
Automatic selection of the tensor's storage type by recording previously requested views.
...
PiperOrigin-RevId: 496466136
2022-12-19 12:37:50 -08:00
Nikolay Chirkov
d5562241cc
Tensor: Interoperability GPU/Cpu -> Ahwb by transforming the underlying storage into Ahwb with releasing previously Cpu/Gpu resources.
...
PiperOrigin-RevId: 495748104
2022-12-15 18:34:27 -08:00
Nikolay Chirkov
bea0caae65
Tensor: Cpu -> Ahwb storage transfer
...
PiperOrigin-RevId: 494033280
2022-12-08 17:06:56 -08:00
Nikolay Chirkov
7faee517c4
Tensor: Move general CPU/SSBO tensor storage into Ahwb-backed CPU/SSBO storage.
...
PiperOrigin-RevId: 493710495
2022-12-07 14:32:42 -08:00
Nikolay Chirkov
aad797197b
TensorV1 EGL.h include fix.
...
PiperOrigin-RevId: 493596083
2022-12-07 07:16:59 -08:00
MediaPipe Team
38baaa00b1
Fix GL Tensor (backed by AHardwaBuffer) GL to CPU synchronization.
...
glFinish() must be called on a valid gl context
PiperOrigin-RevId: 478816905
2022-10-04 10:02:51 -07:00
MediaPipe Team
4dc4b19ddb
Project import generated by Copybara.
...
GitOrigin-RevId: 1e13be30e2c6838d4a2ff768a39c414bc80534bb
2022-09-06 21:46:17 +00:00
MediaPipe Team
c688862570
Project import generated by Copybara.
...
GitOrigin-RevId: 6e5aa035cd1f6a9333962df5d3ab97a05bd5744e
2022-06-28 12:11:05 +00:00