opae_sim buffer index allocation bug fix

This commit is contained in:
Blaise Tine
2021-06-11 15:20:02 -07:00
parent 78a452ea6e
commit a315d0087d
5 changed files with 30 additions and 48 deletions

View File

@@ -314,11 +314,6 @@ extern void* vx_host_ptr(vx_buffer_h hbuffer) {
return nullptr;
vx_buffer_t* buffer = ((vx_buffer_t*)hbuffer);
#ifdef USE_VLSIM
vx_device_t *device = ((vx_device_t*)buffer->hdevice);
fpgaFlush(device);
#endif
return buffer->host_ptr;
}