unmap a previously mapped buff (#1410)

old-commit-hash: 98ec06e125
commatwo_master
Dean Lee 5 years ago committed by GitHub
parent 877dbc352a
commit 451af5865c
  1. 2
      selfdrive/modeld/models/driving.cc

@ -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];

Loading…
Cancel
Save