nrgraham23 / LibJFabric

Java bindings for libfabric.
2 stars 0 forks source link

Replace method calls through pointers to inlined method calls #49

Open nrgraham23 opened 8 years ago

nrgraham23 commented 8 years ago

Example:

int res = ((struct fid_fabric )fabricHandle)->ops->eq_open((struct fid_fabric )fabricHandle, (struct fi_eq_attr )eqAttrHandle, &event_queue, (void )contextHandle);

to:

int res = fi_eq_open((struct fid_fabric )fabricHandle, (struct fi_eq_attr )eqAttrHandle, &event_queue, (void *)contextHandle);