mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-21 17:22:24 +08:00
unmap a previously mapped buff (#1410)
old-commit-hash: 98ec06e125b605405900673be0305677ad5efce3
This commit is contained in:
@@ -112,6 +112,8 @@ ModelDataRaw model_eval_frame(ModelState* s, cl_command_queue q,
|
||||
assert(1==2);
|
||||
#endif
|
||||
|
||||
clEnqueueUnmapMemObject(q, s->frame.net_input, (void*)new_frame_buf, 0, NULL, NULL);
|
||||
|
||||
// net outputs
|
||||
ModelDataRaw net_outputs;
|
||||
net_outputs.path = &s->output[PATH_IDX];
|
||||
|
||||
Reference in New Issue
Block a user