intel / openvino-rs

Rust bindings for OpenVINO™
Apache License 2.0
80 stars 23 forks source link

Add a memory safety test #129

Closed abrown closed 2 months ago

abrown commented 2 months ago

This test originates from some strange segfaults that we observed while using the OpenVINO C library. Because OpenVINO is taking a pointer to a tensor when constructing a model, we want to be sure that we do the right thing on this side of the FFI boundary.