Log In | Get Help   
Home My Page Projects Code Snippets Project Openings UPC Operations Microbenchmarking Suite
Summary Activity Tracker Lists Docs News SCM Files
[uoms] Diff of /trunk/uoms/src/mem_manager.upc
[uoms] / trunk / uoms / src / mem_manager.upc Repository:
ViewVC logotype

Diff of /trunk/uoms/src/mem_manager.upc

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 6, Wed Apr 14 07:40:20 2010 UTC revision 7, Fri Apr 23 09:49:46 2010 UTC
# Line 132  Line 132 
132                          p2pDistArr = upc_all_alloc(THREADS,nbytes);                          p2pDistArr = upc_all_alloc(THREADS,nbytes);
133                          UPCMEM_OK(p2pDistArr);                          UPCMEM_OK(p2pDistArr);
134                          if(mem_is_ok == -1) return -1;                          if(mem_is_ok == -1) return -1;
135  #ifdef ASYNC_MEM_TEST  #if defined (ASYNC_MEM_TEST) || defined (ASYNCI_MEM_TEST)
136                          if(operation_code == MEMCPY || operation_code == LMEMCPY ||                          if(operation_code == MEMCPY || operation_code == LMEMCPY ||
137                             operation_code == AMEMCPY || operation_code == ALMEMCPY){                             operation_code == AMEMCPY || operation_code == ALMEMCPY ||
138                               operation_code == AIMEMCPY || operation_code == AILMEMCPY){
139  #else  #else
140                          if(operation_code == MEMCPY || operation_code == LMEMCPY){                          if(operation_code == MEMCPY || operation_code == LMEMCPY){
141  #endif  #endif
# Line 373  Line 374 
374                  else{                  else{
375                          if (MYTHREAD == 0){                          if (MYTHREAD == 0){
376                                  upc_free(p2pDistArr);                                  upc_free(p2pDistArr);
377  #ifdef ASYNC_MEM_TEST  #if defined (ASYNC_MEM_TEST) || defined (ASYNCI_MEM_TEST)
378                                  if(operation_code == MEMCPY || operation_code == LMEMCPY ||                                  if(operation_code == MEMCPY || operation_code == LMEMCPY ||
379                                     operation_code == AMEMCPY || operation_code == ALMEMCPY){                                     operation_code == AMEMCPY || operation_code == ALMEMCPY ||
380                                       operation_code == AIMEMCPY || operation_code == AILMEMCPY){
381  #else  #else
382                                  if(operation_code == MEMCPY || operation_code == LMEMCPY){                                  if(operation_code == MEMCPY || operation_code == LMEMCPY){
383  #endif  #endif

Legend:
Removed from v.6  
changed lines
  Added in v.7

root@forge.cesga.es
ViewVC Help
Powered by ViewVC 1.0.0  

Powered By FusionForge