Mercurial > cgi-bin > hgwebdir.cgi > VMS > VMS_Implementations > VMS_impls > VMS__MC_shared_impl
comparison VMS.h @ 155:c57bc4d530d0
removed NUM_CORES to move it to Makefile
| author | Merten Sach <msach@mailbox.tu-berlin.de> |
|---|---|
| date | Thu, 06 Oct 2011 14:41:27 +0200 |
| parents | ca154ebe2b6c |
| children | d1dd9e6ee72c |
comparison
equal
deleted
inserted
replaced
| 47:aa49feacd666 | 74:9e7632e73e64 |
|---|---|
| 74 | 74 |
| 75 | 75 |
| 76 //========================= Hardware related Constants ===================== | 76 //========================= Hardware related Constants ===================== |
| 77 //This value is the number of hardware threads in the shared memory | 77 //This value is the number of hardware threads in the shared memory |
| 78 // machine | 78 // machine |
| 79 #define NUM_CORES 8 | 79 //#define NUM_CORES 8 |
| 80 | 80 |
| 81 // tradeoff amortizing master fixed overhead vs imbalance potential | 81 // tradeoff amortizing master fixed overhead vs imbalance potential |
| 82 // when work-stealing, can make bigger, at risk of losing cache affinity | 82 // when work-stealing, can make bigger, at risk of losing cache affinity |
| 83 #define NUM_SCHED_SLOTS 5 | 83 #define NUM_SCHED_SLOTS 5 |
| 84 | 84 |
