1
1
fixed by Igor, reviewed by miked
cmr=v1.7.4:reviewer=ompi-rm1.7

This commit was SVN r29329.
Этот коммит содержится в:
Mike Dubman 2013-10-02 07:35:09 +00:00
родитель 08efe5a338
Коммит 95b96a9905

Просмотреть файл

@ -97,11 +97,12 @@ int mca_atomic_mxm_fadd(void *target,
sreq.op.atomic.remote_vaddr = (uintptr_t) remote_addr;
#if MXM_API < MXM_VERSION(2,0)
sreq.op.atomic.remote_memh = MXM_INVALID_MEM_HANDLE;
memcpy(&sreq.op.atomic.value8, cond, nlong);
#else
sreq.op.atomic.remote_mkey = MXM_INVALID_MEM_HANDLE;
memcpy(&sreq.op.atomic.value, cond, nlong);
#endif
sreq.op.atomic.order = nlong_order;
memcpy(&sreq.op.atomic.value8, value, nlong);
/* Do we need atomic 'add' or atomic 'fetch and add'? */
if (NULL == prev) {