fix uGNI machine.c send_smsg_message function call error 26/426/3
authorYanhua Sun <sun51@illinois.edu>
Sat, 8 Nov 2014 04:16:28 +0000 (20:16 -0800)
committerGerrit Code Review <gerrit2@charm.cs.uiuc.edu>
Mon, 10 Nov 2014 18:58:31 +0000 (12:58 -0600)
Change-Id: I6162d576f18acaaee18fee67d45ecb7ddbe97546

src/arch/gni/machine.c

index b156ae9456f134d4c952e66c9df365cfa47d3b50..d3361046cb906313a8c9f5fbde7a925189028a87 100644 (file)
@@ -1764,7 +1764,7 @@ INLINE_KEYWORD static gni_return_t send_large_messages(SMSG_QUEUE *queue, int de
     MEMORY_REGISTER(onesided_hnd, nic_hndl,msg, ALIGN64(size), &(control_msg_tmp->source_mem_hndl), &omdh, NULL, status)
     if(status == GNI_RC_SUCCESS)
     {
-        status = send_smsg_message(queue, destNode, control_msg_tmp, CONTROL_MSG_SIZE, lmsg_tag, 0, NULL);  
+        status = send_smsg_message(queue, destNode, control_msg_tmp, CONTROL_MSG_SIZE, lmsg_tag, 0, NULL, 0);
 #if ! CMK_SMSGS_FREE_AFTER_EVENT
         if(status == GNI_RC_SUCCESS)
         {
@@ -3008,7 +3008,7 @@ static void PumpLocalTransactions(gni_cq_handle_t my_tx_cqh, CmiNodeLock my_cq_l
 
 #if CMK_DIRECT
             if (tmp_pd->amo_cmd == 1) {
-                status = send_smsg_message(queue, inst_id, cmk_direct_done_msg, sizeof(CMK_DIRECT_HEADER), msg_tag, 0, NULL); 
+                status = send_smsg_message(queue, inst_id, cmk_direct_done_msg, sizeof(CMK_DIRECT_HEADER), msg_tag, 0, NULL, 0);
 #if ! CMK_SMSGS_FREE_AFTER_EVENT
                 if (status == GNI_RC_SUCCESS) free(cmk_direct_done_msg); 
 #endif
@@ -3269,7 +3269,7 @@ INLINE_KEYWORD gni_return_t _sendOneBufferedSmsg(SMSG_QUEUE *queue, MSG_LIST *pt
         break;
 #if CMK_PERSISTENT_COMM_PUT && !REMOTE_EVENT && !CQWRITE 
     case PUT_DONE_TAG:
-        status = send_smsg_message(queue, ptr->destNode, ptr->msg, ptr->size, ptr->tag, 1, ptr);  
+        status = send_smsg_message(queue, ptr->destNode, ptr->msg, ptr->size, ptr->tag, 1, ptr, 0);
 #if !CMK_SMSGS_FREE_AFTER_EVENT
         if(status == GNI_RC_SUCCESS)
         {
@@ -3280,7 +3280,7 @@ INLINE_KEYWORD gni_return_t _sendOneBufferedSmsg(SMSG_QUEUE *queue, MSG_LIST *pt
 #endif
 #if CMK_DIRECT
     case DIRECT_PUT_DONE_TAG:
-        status = send_smsg_message(queue, ptr->destNode, ptr->msg, sizeof(CMK_DIRECT_HEADER), ptr->tag, 1, ptr);  
+        status = send_smsg_message(queue, ptr->destNode, ptr->msg, sizeof(CMK_DIRECT_HEADER), ptr->tag, 1, ptr, 0);
 #if !CMK_SMSGS_FREE_AFTER_EVENT
         if(status == GNI_RC_SUCCESS)
         {