StaticDistPolicies.cpp File Reference

Machine Descriptions -*- C++ -*-. More...

#include "Galois/Runtime/Threads.h"
#include "Galois/Runtime/Support.h"
#include <sched.h>
#include <string.h>
#include <iostream>
#include <sstream>

Classes

struct  FaradayPolicy
struct  VoltaPolicy
struct  MaxwellPolicy
struct  GaloisPolicy
struct  DummyPolicy

Functions

static void genericBindToProcessor (int proc)

Variables

static ThreadPolicyTP = 0

Detailed Description

Machine Descriptions -*- C++ -*-.

License

Galois, a framework to exploit amorphous data-parallelism in irregular programs.

Copyright (C) 2011, The University of Texas at Austin. All rights reserved. UNIVERSITY EXPRESSLY DISCLAIMS ANY AND ALL WARRANTIES CONCERNING THIS SOFTWARE AND DOCUMENTATION, INCLUDING ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR ANY PARTICULAR PURPOSE, NON-INFRINGEMENT AND WARRANTIES OF PERFORMANCE, AND ANY WARRANTY THAT MIGHT OTHERWISE ARISE FROM COURSE OF DEALING OR USAGE OF TRADE. NO WARRANTY IS EITHER EXPRESS OR IMPLIED WITH RESPECT TO THE USE OF THE SOFTWARE OR DOCUMENTATION. Under no circumstances shall University be liable for incidental, special, indirect, direct or consequential damages or loss of profits, interruption of business, or related expenses which may arise from use of Software or Documentation, including but not limited to those resulting from defects in Software and/or Documentation, or loss or inaccuracy of data of any kind.

Description

This contains descriptions of machine topologies. These describes levels in the machine. The lowest level is a package.

This also matches OS cpu numbering to galois thread numbering and binds threads to processors. Threads are assigned densly in each package before the next package. SMT hardware contexts are bound after all real cores (int x86).

Author:
Andrew Lenharth <andrewl@lenharth.org>

Function Documentation

static void genericBindToProcessor ( int  proc  )  [static]

Variable Documentation

ThreadPolicy* TP = 0 [static]
Generated on Tue Aug 2 11:51:26 2011 for Galois by  doxygen 1.6.3