|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.cmpware.cmp.SystemMemory
com.cmpware.cmp.system.memory.Torus
public class Torus
This implements a 2D Torus (a 2D grid with the ends connected around -- a dougnhut) shared memory configuration. Neighboring processors share a small block of memory in a toroidal topology.
Copyright (c) 2004, 2005 Cmpware, Inc. All Rights Reserved.
| Field Summary | |
|---|---|
static java.lang.String |
copyright
Copyright string |
static int |
EAST
The start address of the 'east' shared memory bank |
static int |
LOCAL_MEMORY_SIZE
The size of the local memory (in bytes) |
static int |
NORTH
The start address of the 'north' shared memory bank |
static int |
SHARED_MEMORY_SIZE
The size of the shared memories (in bytes) |
static int |
SOUTH
The start address of the 'south' shared memory bank |
static int |
WEST
The start address of the 'west' shared memory bank |
| Constructor Summary | |
|---|---|
Torus()
|
|
| Method Summary | |
|---|---|
void |
configureMemory(Multiprocessor mp)
This method is called to build and configure the memory system for the newly allocated processor array. |
| Methods inherited from class com.cmpware.cmp.SystemMemory |
|---|
get |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String copyright
public static int LOCAL_MEMORY_SIZE
public static int SHARED_MEMORY_SIZE
public static int NORTH
public static int EAST
public static int SOUTH
public static int WEST
| Constructor Detail |
|---|
public Torus()
| Method Detail |
|---|
public void configureMemory(Multiprocessor mp)
throws SystemMemoryException
SystemMemory
configureMemory in class SystemMemorymp - The multiprocessor.
SystemMemoryException - if there is a problem allocating
or using the memory objects.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||