You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In transport_ofi.h we have the following workaround:
staticinlinevoidshmem_transport_atomic_fetch(shmem_transport_ctx_t*ctx, void*target,
constvoid*source, size_tlen, intpe,
intdatatype)
{
#ifdefENABLE_MR_ENDPOINT/* CXI provider currently does not support fetch atomics with FI_DELIVERY_COMPLETE * That is why non-blocking API is used which uses FI_INJECT. FI_ATOMIC_READ is * also not supported currently */long longdummy=0;
shmem_transport_fetch_atomic_nbi(ctx, (void*) source, (constvoid*) &dummy,
target, len, pe, FI_SUM, datatype);
#elseshmem_transport_fetch_atomic_nbi(ctx, (void*) source, (constvoid*) NULL,
target, len, pe, FI_ATOMIC_READ, datatype);
#endif
}