Commit e78dce67 authored by Francois Tessier's avatar Francois Tessier

Add memory capacity values on Cooley

parent 788237cd
......@@ -377,7 +377,24 @@ int64_t Memory::memLatency ( mem_t mem ) {
int64_t Memory::memCapacity ( mem_t mem ) {
return 0;
switch ( mem )
{
case DDR:
return 384000000000;
break;
case PFS:
return LONG_MAX;
break;
case NLS:
return 345000000000;
break;
case NVR:
return 345000000000;
break;
default:
printMsg ( ERROR, "Wrong memory type!\n" );
MPI_Abort ( MPI_COMM_WORLD, -1 );
}
}
......
......@@ -5,6 +5,7 @@
#include <stdlib.h>
#include <string.h>
#include <sys/mman.h>
#include <limits.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/stat.h>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment