1
1

-- Just got basic Thread-based progression working

-- Will focus on more extensive testing

This commit was SVN r2415.
Этот коммит содержится в:
Weikuan Yu 2004-08-31 18:37:06 +00:00
родитель 8b3b1c5414
Коммит 19ac676084
3 изменённых файлов: 6 добавлений и 9 удалений

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

@ -380,8 +380,7 @@ mca_ptl_elan_get (struct mca_ptl_base_module_t *ptl,
return rc;
}
/*
* A posted receive has been matched
/* A posted receive has been matched
* + Copy the data into user buffer
* + Return an ack if need to
*/
@ -476,4 +475,3 @@ mca_ptl_elan_matched (mca_ptl_base_module_t * ptl,
mca_ptl_elan_recv_frag_done (header, frag, request);
}
}

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

@ -712,7 +712,6 @@ int
mca_ptl_elan_wait_queue(mca_ptl_elan_module_t * ptl,
ompi_ptl_elan_recv_queue_t *rxq, long usecs)
{
int ret = 1;
RAIL *rail;
ELAN4_CTX *ctx;
ADDR_SDRAM ready;
@ -731,8 +730,8 @@ mca_ptl_elan_wait_queue(mca_ptl_elan_module_t * ptl,
rail, ctx, ready, ready);
/* Poll for usec (at least one), then go to sleep. */
if (ret = elan4_pollevent_word(ctx, readyWord, usecs)) {
return ret;
if (elan4_pollevent_word(ctx, readyWord, usecs)) {
return 0xdeadbeef;
}
LOG_PRINT(PTL_ELAN_DEBUG_THREAD,
@ -764,10 +763,9 @@ mca_ptl_elan_wait_queue(mca_ptl_elan_module_t * ptl,
OMPI_UNLOCK(&mca_ptl_elan_component.elan_lock);
}
END_FUNC(PTL_ELAN_DEBUG_THREAD);
return ret;
return 0xdeadbeef;
}
#if OMPI_PTL_ELAN_ENABLE_GET && defined (HAVE_GET_INTERFACE)
int
mca_ptl_elan_start_get (mca_ptl_elan_send_frag_t * frag,

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

@ -53,7 +53,8 @@
#define PTL_ELAN_DEBUG_CHAIN (0x800)
#define PTL_ELAN_DEBUG_FLAG \
(PTL_ELAN_DEBUG_FIN | PTL_ELAN_DEBUG_INIT | PTL_ELAN_DEBUG_THREAD)
(PTL_ELAN_DEBUG_PUT | PTL_ELAN_DEBUG_GET | PTL_ELAN_DEBUG_MAC | \
PTL_ELAN_DEBUG_FIN | PTL_ELAN_DEBUG_INIT | PTL_ELAN_DEBUG_THREAD)
#define START_FUNC(flag) \
do { \