63532a6ee2
Detach finds the shared producer via lcameraDev_resolveDeviceSelectorCReq then removes buffers by attach identity; unit tests cover quale guards. Co-authored-by: Cursor <cursoragent@cursor.com>
21 lines
497 B
C++
21 lines
497 B
C++
#ifndef LCAMERA_BUFF_TESTS_HIL_SMO_CALLBACKS_STUB_H
|
|
#define LCAMERA_BUFF_TESTS_HIL_SMO_CALLBACKS_STUB_H
|
|
|
|
#include <user/compute.h>
|
|
#include <user/smoHooks.h>
|
|
#include <memory>
|
|
#include <vector>
|
|
|
|
namespace lcamera_buff_tests {
|
|
|
|
const smo::stim_buff::SmoCallbacks& hilSmoCallbacksStub();
|
|
|
|
std::shared_ptr<smo::compute::ClBuffer> createUseHostPtrBufferStub(
|
|
void* hostPtr,
|
|
size_t size,
|
|
cl_mem_flags flags);
|
|
|
|
} // namespace lcamera_buff_tests
|
|
|
|
#endif // LCAMERA_BUFF_TESTS_HIL_SMO_CALLBACKS_STUB_H
|