repo_id stringlengths 21 96 | file_path stringlengths 31 155 | content stringlengths 1 92.9M | __index_level_0__ int64 0 0 |
|---|---|---|---|
rapidsai_public_repos/code-share/maxflow/galois | rapidsai_public_repos/code-share/maxflow/galois/scripts/report.py | #!/usr/bin/env python
"""
Parse the output of an application into a csv file
@section License
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, FITNE... | 0 |
rapidsai_public_repos/code-share/maxflow/galois | rapidsai_public_repos/code-share/maxflow/galois/scripts/run.py | #!/usr/bin/env python
#
# Run an application multiple times, varying parameters like
# number of threads, etc
from __future__ import print_function
import sys
import os
import subprocess
import optparse
import shlex
import signal
def die(s):
sys.stderr.write(s)
sys.exit(1)
def print_bright(s):
red = '\033[1;... | 0 |
rapidsai_public_repos/code-share/maxflow/galois | rapidsai_public_repos/code-share/maxflow/galois/scripts/report.R | # Generate pretty graphs from csv
# usage: Rscript report.R <report.csv>
library(ggplot2)
library(reshape2)
Id.Vars <- c("Algo","Kind","Hostname","Threads","CommandLine")
outputfile <- ""
if (interactive()) {
theme_grey()
inputfile <- "~/report.csv"
outputfile <- ""
} else {
theme_set(theme_bw(base_size=9))... | 0 |
rapidsai_public_repos/code-share/maxflow/galois | rapidsai_public_repos/code-share/maxflow/galois/scripts/run_web_figures.sh | #!/bin/bash
#
# Larger test cases for each benchmark
set -e
BASE="$(cd $(dirname $0); cd ..; pwd)"
if [[ -z "$BASEINPUT" ]]; then
BASEINPUT="$(pwd)/inputs"
fi
if [[ -z "$NUMTHREADS" ]]; then
NUMTHREADS="$(cat /proc/cpuinfo | grep processor | wc -l)"
fi
RESULTDIR="$(pwd)/weblogs"
if [[ ! -e Makefile ]]; then
... | 0 |
rapidsai_public_repos/code-share/maxflow/galois | rapidsai_public_repos/code-share/maxflow/galois/scripts/make_dist.sh.in | #!/bin/bash
#
# Make distribution tarball
NAME="Galois-@GALOIS_VERSION_MAJOR@.@GALOIS_VERSION_MINOR@.@GALOIS_VERSION_PATCH@"
if [[ ! -e COPYRIGHT ]]; then
echo "Run this from the root source directory" 1>&2
exit 1
fi
touch "$NAME.tar.gz" # Prevent . from changing during tar
(svn status | grep '^\?' | sed -e 's/^... | 0 |
rapidsai_public_repos/code-share/maxflow/galois | rapidsai_public_repos/code-share/maxflow/galois/scripts/find_ifdefs.sh | find $* -name '*.h' -o -name '*.cpp' \
| xargs grep --no-filename '#if' \
| awk '{print $2;}' | sort | uniq
| 0 |
rapidsai_public_repos/code-share/maxflow/galois | rapidsai_public_repos/code-share/maxflow/galois/scripts/run_small.sh | #!/bin/bash
#
# Small test cases for each benchmark
# Die on first failed command
set -e
BASE="$(cd $(dirname $0); cd ..; pwd)"
if [[ ! -e Makefile ]]; then
echo "Execute this script from the base of your build directory" 1>&2
exit 1
fi
SKIPPED=0
run() {
cmd="$@ -t 2"
if [[ -x $1 ]]; then
echo -en '\0... | 0 |
rapidsai_public_repos/code-share/maxflow/galois | rapidsai_public_repos/code-share/maxflow/galois/scripts/rcat.py | #!/usr/bin/env python
"""
Like cat but optionally add key-values after 'RUN: Start'. Useful with report.py.
@section License
Copyright (C) 2012, The University of Texas at Austin. All rights reserved.
UNIVERSITY EXPRESSLY DISCLAIMS ANY AND ALL WARRANTIES CONCERNING THIS SOFTWARE
AND DOCUMENTATION, INCLUDING ANY WARRA... | 0 |
rapidsai_public_repos/code-share/maxflow/galois/scripts | rapidsai_public_repos/code-share/maxflow/galois/scripts/visual/plotTimeStamps.m | data = dlmread('mesh.csv', ',', 1, 0);
x = data (:,1);
y = data (:,2);
z = data (:,3);
gridsize = 100;
xlin = linspace (min(x), max(x), gridsize);
ylin = linspace (min(y), max(y), gridsize);
[X, Y] = meshgrid (xlin, ylin);
f = TriScatteredInterp (x,y,z, 'nearest');;
Z = f(X,Y);
% bar3 (Z);
hidden off
mesh(X,Y,Z... | 0 |
rapidsai_public_repos/code-share/maxflow/galois/scripts | rapidsai_public_repos/code-share/maxflow/galois/scripts/visual/plotGraph.R | #!/usr/bin/Rscript
library (rgl)
args = commandArgs (trailingOnly=T);
nodes = read.csv (args[1], header=T);
edges = read.csv (args[2], header=T);
nodes = nodes[rev (rownames (nodes)), ]; # order by nodeId
rownames (nodes) = 1:nrow(nodes);
edges = edges[rev (rownames (edges)), ]; # reverse like wise
rownames (edges... | 0 |
rapidsai_public_repos/code-share/maxflow/galois/scripts | rapidsai_public_repos/code-share/maxflow/galois/scripts/visual/plotGraph3d.R | #!/usr/bin/Rscript
library (rgl)
library (compositions)
args = commandArgs (trailingOnly=T);
nodes = read.csv (args[1], header=T);
edges = read.csv (args[2], header=T);
nodes = nodes[rev (rownames (nodes)), ]; # order by nodeId
rownames (nodes) = 1:nrow(nodes);
edges = edges[rev (rownames (edges)), ]; # reverse li... | 0 |
rapidsai_public_repos/code-share/maxflow/galois/scripts | rapidsai_public_repos/code-share/maxflow/galois/scripts/visual/plot2Dmesh.m | poly = dlmread ('mesh-poly.csv', ',' , 1, 0);
coord = dlmread ('mesh-coord.csv', ',', 1, 0);
xcoord = coord(:, 1);
ycoord = coord(:, 2);
zcoord = coord(:, 3);
t = poly (:, 1:4);
t = t + 1;
% triplot (t, x, y);
timestamps = poly(:, 4);
norm_ts = timestamps ./ max(timestamps); % scale relative to 1;
norm_freq =... | 0 |
rapidsai_public_repos/code-share/maxflow/galois/scripts | rapidsai_public_repos/code-share/maxflow/galois/scripts/visual/triplot.m | data = dlmread('mesh.csv', ',', 1, 0);
x = data (:,1);
y = data (:,2);
z = data (:,3);
gridsize = 50;
xlin = linspace (min(x), max(x), gridsize);
ylin = linspace (min(y), max(y), gridsize);
[X, Y] = meshgrid (xlin, ylin);
f = TriScatteredInterp (x,y,z);;
Z = f(X,Y);
hidden off
mesh(X,Y,Z);
figure()
surf(X,Y,Z)... | 0 |
rapidsai_public_repos/code-share/maxflow/galois | rapidsai_public_repos/code-share/maxflow/galois/tools/hi_pr.patch | diff -Naur src/CMakeLists.txt src.patched/CMakeLists.txt
--- src/CMakeLists.txt 1969-12-31 18:00:00.000000000 -0600
+++ src.patched/CMakeLists.txt 2011-06-22 11:50:25.697422244 -0500
@@ -0,0 +1,4 @@
+cmake_minimum_required(VERSION 2.6)
+add_definitions(-DCUT_ONLY -DPRINT_STAT)
+add_executable(hi_pr hi_pr.c)
+install(... | 0 |
rapidsai_public_repos/code-share/maxflow/galois | rapidsai_public_repos/code-share/maxflow/galois/tools/bfs-schardl.patch | diff -Naur src/CMakeLists.txt src.patched/CMakeLists.txt
--- src/CMakeLists.txt 1969-12-31 18:00:00.000000000 -0600
+++ src.patched/CMakeLists.txt 2011-06-22 11:50:25.697422244 -0500
@@ -0,0 +1,3 @@
+cmake_minimum_required(VERSION 2.6)
+add_executable(bfs-schardl bfs.cpp bag.cpp)
+install(TARGETS bfs-schardl DESTINAT... | 0 |
rapidsai_public_repos/code-share/maxflow/galois | rapidsai_public_repos/code-share/maxflow/galois/tools/CMakeLists.txt | add_subdirectory(generators)
add_subdirectory(comparisons)
add_subdirectory(graph-convert)
add_subdirectory(graph-convert-standalone)
add_subdirectory(graph-stats)
include(ExternalProject)
find_program(WGET wget)
find_program(UNZIP unzip)
##########################################
# Broken external projects
#########... | 0 |
rapidsai_public_repos/code-share/maxflow/galois | rapidsai_public_repos/code-share/maxflow/galois/tools/SSCA2.patch | diff -Naur src/CMakeLists.txt src.patched/CMakeLists.txt
--- src/CMakeLists.txt 1969-12-31 18:00:00.000000000 -0600
+++ src.patched/CMakeLists.txt 2011-06-22 11:50:25.697422244 -0500
@@ -0,0 +1,24 @@
+cmake_minimum_required(VERSION 2.6)
+add_definitions(-DAdd__ -DGALOIS_PATCH)
+include_directories(sprng2.0/include sp... | 0 |
rapidsai_public_repos/code-share/maxflow/galois | rapidsai_public_repos/code-share/maxflow/galois/tools/triangle.patch | diff -Naur src/CMakeLists.txt src.patched/CMakeLists.txt
--- src/CMakeLists.txt 1969-12-31 18:00:00.000000000 -0600
+++ src.patched/CMakeLists.txt 2011-06-22 11:50:25.697422244 -0500
@@ -0,0 +1,4 @@
+cmake_minimum_required(VERSION 2.6)
+add_executable(triangle triangle.c)
+target_link_libraries(triangle m)
+install(T... | 0 |
rapidsai_public_repos/code-share/maxflow/galois | rapidsai_public_repos/code-share/maxflow/galois/tools/independentset-pbbs.patch | diff -Naur src/CMakeLists.txt src.patched/CMakeLists.txt
--- src/CMakeLists.txt 1969-12-31 18:00:00.000000000 -0600
+++ src.patched/CMakeLists.txt 2011-06-22 11:50:25.697422244 -0500
@@ -0,0 +1,6 @@
+cmake_minimum_required(VERSION 2.6)
+include_directories(incrementalMIS common)
+add_definitions(-DCILKP)
+file(GLOB S... | 0 |
rapidsai_public_repos/code-share/maxflow/galois | rapidsai_public_repos/code-share/maxflow/galois/tools/cats-gens.patch | diff -Naur src/CMakeLists.txt src.patched/CMakeLists.txt
--- src/CMakeLists.txt 1969-12-31 18:00:00.000000000 -0600
+++ src.patched/CMakeLists.txt 2011-06-22 11:50:25.697422244 -0500
@@ -0,0 +1,6 @@
+cmake_minimum_required(VERSION 2.6)
+add_executable(gen_washington washington/washington.c)
+add_executable(gen_ac ac_... | 0 |
rapidsai_public_repos/code-share/maxflow/galois | rapidsai_public_repos/code-share/maxflow/galois/tools/kruskal-pbbs.patch | diff -Naur src/CMakeLists.txt src.patched/CMakeLists.txt
--- src/CMakeLists.txt 1969-12-31 18:00:00.000000000 -0600
+++ src.patched/CMakeLists.txt 2011-06-22 11:50:25.697422244 -0500
@@ -0,0 +1,6 @@
+cmake_minimum_required(VERSION 2.6)
+include_directories(parallelKruskal common)
+add_definitions(-DCILKP)
+file(GLOB ... | 0 |
rapidsai_public_repos/code-share/maxflow/galois | rapidsai_public_repos/code-share/maxflow/galois/tools/delaunayrefinement-pbbs.patch | diff -Naur src/CMakeLists.txt src.patched/CMakeLists.txt
--- src/CMakeLists.txt 1969-12-31 18:00:00.000000000 -0600
+++ src.patched/CMakeLists.txt 2011-06-22 11:50:25.697422244 -0500
@@ -0,0 +1,6 @@
+cmake_minimum_required(VERSION 2.6)
+include_directories(incrementalRefine common)
+add_definitions(-DCILKP)
+file(GLO... | 0 |
rapidsai_public_repos/code-share/maxflow/galois | rapidsai_public_repos/code-share/maxflow/galois/tools/bfs-pbbs.patch | diff -Naur src/CMakeLists.txt src.patched/CMakeLists.txt
--- src/CMakeLists.txt 1969-12-31 18:00:00.000000000 -0600
+++ src.patched/CMakeLists.txt 2011-06-22 11:50:25.697422244 -0500
@@ -0,0 +1,6 @@
+cmake_minimum_required(VERSION 2.6)
+include_directories(deterministicBFS common)
+add_definitions(-DCILKP)
+file(GLOB... | 0 |
rapidsai_public_repos/code-share/maxflow/galois | rapidsai_public_repos/code-share/maxflow/galois/tools/snap.patch | diff -Naur src/CMakeLists.txt src.patched/CMakeLists.txt
--- src/CMakeLists.txt 1969-12-31 18:00:00.000000000 -0600
+++ src.patched/CMakeLists.txt 2011-06-22 11:50:25.697422244 -0500
@@ -0,0 +1,5 @@
+cmake_minimum_required(VERSION 2.6)
+include_directories(glib snap)
+add_executable(graphgen snap/Snap.cpp examples/gr... | 0 |
rapidsai_public_repos/code-share/maxflow/galois | rapidsai_public_repos/code-share/maxflow/galois/tools/delaunaytriangulation-pbbs.patch | diff -Naur src/CMakeLists.txt src.patched/CMakeLists.txt
--- src/CMakeLists.txt 1969-12-31 18:00:00.000000000 -0600
+++ src.patched/CMakeLists.txt 2011-06-22 11:50:25.697422244 -0500
@@ -0,0 +1,6 @@
+cmake_minimum_required(VERSION 2.6)
+include_directories(incrementalDelaunay common)
+add_definitions(-DCILKP)
+file(G... | 0 |
rapidsai_public_repos/code-share/maxflow/galois | rapidsai_public_repos/code-share/maxflow/galois/tools/GTgraph-rmat.patch | diff -Naur src/CMakeLists.txt src.patched/CMakeLists.txt
--- src/CMakeLists.txt 1969-12-31 18:00:00.000000000 -0600
+++ src.patched/CMakeLists.txt 2011-06-22 11:50:25.697422244 -0500
@@ -0,0 +1,24 @@
+cmake_minimum_required(VERSION 2.6)
+add_definitions(-DAdd_)
+include_directories(sprng2.0-lite/include sprng2.0-lite... | 0 |
rapidsai_public_repos/code-share/maxflow/galois/tools | rapidsai_public_repos/code-share/maxflow/galois/tools/graph-stats/CMakeLists.txt | app(graph-stats)
| 0 |
rapidsai_public_repos/code-share/maxflow/galois/tools | rapidsai_public_repos/code-share/maxflow/galois/tools/graph-stats/graph-stats.cpp | /** Graph converter -*- C++ -*-
* @file
* @section 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 AN... | 0 |
rapidsai_public_repos/code-share/maxflow/galois/tools | rapidsai_public_repos/code-share/maxflow/galois/tools/generators/CMakeLists.txt | # Copy over scripts because needed to generate inputs
file(GLOB Sources *.py)
file(COPY ${Sources} DESTINATION .)
| 0 |
rapidsai_public_repos/code-share/maxflow/galois/tools | rapidsai_public_repos/code-share/maxflow/galois/tools/generators/random-graph.py | #!/usr/bin/env python
"""
Generates random graphs
@section License
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 PURPO... | 0 |
rapidsai_public_repos/code-share/maxflow/galois/tools | rapidsai_public_repos/code-share/maxflow/galois/tools/generators/rmat.py | #!/usr/bin/env python
"""
Wrapper around GTgraph program.
@section License
Copyright (C) 2013, 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
PARTICUL... | 0 |
rapidsai_public_repos/code-share/maxflow/galois/tools | rapidsai_public_repos/code-share/maxflow/galois/tools/generators/2d-graph.py | #!/usr/bin/env python
"""
Generates 2D graphs
@section License
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,... | 0 |
rapidsai_public_repos/code-share/maxflow/galois/tools | rapidsai_public_repos/code-share/maxflow/galois/tools/generators/clique.py | #!/usr/bin/env python
"""
Generates k-cliques
@section License
Copyright (C) 2013, 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, ... | 0 |
rapidsai_public_repos/code-share/maxflow/galois/tools | rapidsai_public_repos/code-share/maxflow/galois/tools/generators/random-2d-points.py | #!/usr/bin/env python
"""
Generates random 2d points for use with Delaunay Triangulation.
@section License
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 MERCHANTA... | 0 |
rapidsai_public_repos/code-share/maxflow/galois/tools/generators | rapidsai_public_repos/code-share/maxflow/galois/tools/generators/desNetlistGen/grpXorNandArrayGen.pl | #!/usr/bin/perl
use strict;
use warnings;
my $N = shift @ARGV;
print "finish=100000\n\n";
foreach my $i ( 0..$N-1 ) {
print "\ngroup\n";
print "\ninputs a$i, b$i end\n";
print "\noutputs o$i end \n";
print "\ninitlist a$i\n";
foreach my $j( 0..$N*$N-1 ) {
print 5*$j, ", ", ($j%2),"\n"; # tog... | 0 |
rapidsai_public_repos/code-share/maxflow/galois/tools/generators | rapidsai_public_repos/code-share/maxflow/galois/tools/generators/desNetlistGen/grpAdderGen.pl | #!/usr/bin/perl
use strict;
use warnings;
require "../scripts/netlistLib.pl";
require "../scripts/devicelib.pl";
srand(time);
my $MAX_TIME=100;
my $FinishTime = 10000;
my $NUM_THREADS = 4;
my $DEBUG=0;
my $numBits = shift @ARGV;
$NUM_THREADS = (@ARGV) ? shift @ARGV : $NUM_THREADS;
genAdderGrped("adder$numBits... | 0 |
rapidsai_public_repos/code-share/maxflow/galois/tools/generators | rapidsai_public_repos/code-share/maxflow/galois/tools/generators/desNetlistGen/testTreeMult.pl | #!/usr/bin/perl
#
use strict;
use warnings;
require "../scripts/netlistlib.pl";
require "../scripts/devicelib.pl";
my $numBits = shift @ARGV;
my $GaloisBin = '~/projects/Galois/trunk/bin';
my $testFile = "/tmp/mult$numBits.net";
my $cmd = "cd $GaloisBin && java eventdrivensimulation.SerialEventdrivensimulation $tes... | 0 |
rapidsai_public_repos/code-share/maxflow/galois/tools/generators | rapidsai_public_repos/code-share/maxflow/galois/tools/generators/desNetlistGen/genAdderRC.pl | #!/usr/bin/perl
use strict;
use warnings;
require "../scripts/netlistlib.pl";
require "../scripts/devicelib.pl";
my $FinishTime = 10000;
my $numBits = shift @ARGV;
genAdderRC( $numBits, 2**$numBits-1, 1, 2**$numBits-1, 2**$numBits-1, 1 );
sub genAdderRC {
my ($numBits, $sVal, $coutVal, $aVal, $bVal, $ci... | 0 |
rapidsai_public_repos/code-share/maxflow/galois/tools/generators | rapidsai_public_repos/code-share/maxflow/galois/tools/generators/desNetlistGen/adder_1bit.m4 | define(`adder_1bit',`
inv($3n,$3)#4
inv($4n,$4)#4
inv($5n,$5)#4
and2($3n$4n,$3n,$4n)#2
and2($3n$4,$3n,$4)#2
and2($3$4n,$3,$4n)#2
and2($3$4,$3,$4)#3
and2($3$4$5,$3$4,$5)#2
and2($3n$4n$5,$3n$4n,$5)#2
and2($3n$4$5n,$3n$4,$5n)#2
and2($3$4n$5n,$3$4n,$5n)#2
and2($4$5,$4,$5)#2
and2($3$5,$5,$3)#2
or2($1w42,$3$4n$5n,$3n$4$5... | 0 |
rapidsai_public_repos/code-share/maxflow/galois/tools/generators | rapidsai_public_repos/code-share/maxflow/galois/tools/generators/desNetlistGen/genCSA.pl | #!/usr/bin/perl
#
use strict;
use warnings;
require "../scripts/netlistlib.pl";
require "../scripts/devicelib.pl";
my $finishTime = 100000;
my $numBits = shift @ARGV;
my $numEvents = ( @ARGV ) ? shift @ARGV : 200 ;
genCSAtest($numBits, 2**$numBits-1, 2**$numBits-1, 2**$numBits-1, 2**$numBits-1, 2**$numBits-1 );
s... | 0 |
rapidsai_public_repos/code-share/maxflow/galois/tools/generators | rapidsai_public_repos/code-share/maxflow/galois/tools/generators/desNetlistGen/tryOut.pl | #!/usr/bin/perl
#
use strict;
use warnings;
my $v = [ map { "a_".$_; } (0..10) ];
print "@$v[0..3]\n";
| 0 |
rapidsai_public_repos/code-share/maxflow/galois/tools/generators | rapidsai_public_repos/code-share/maxflow/galois/tools/generators/desNetlistGen/testKoggeStone.pl | #!/usr/bin/perl
#
use strict;
use warnings;
require "../scripts/netlistlib.pl";
require "../scripts/devicelib.pl";
my $numBits = 8;
my $FinishTime = 100000;
$numBits = shift @ARGV;
my $GaloisBin = '~/projects/Galois/trunk/bin';
my $testFile = "/tmp/ks$numBits.net";
my $cmd = "cd $GaloisBin && java eventdrivensimula... | 0 |
rapidsai_public_repos/code-share/maxflow/galois/tools/generators | rapidsai_public_repos/code-share/maxflow/galois/tools/generators/desNetlistGen/genKoggeStone.pl | #!/usr/bin/perl
#
use strict;
use warnings;
require "netlistlib.pl";
require "devicelib.pl";
my $numBits = 8;
my $FinishTime = 10000;
$numBits = shift @ARGV;
genKoggeStoneTest( *STDOUT, $numBits, 2**$numBits-1, 1, 2**$numBits-1, 2**$numBits-1, 1 );
| 0 |
rapidsai_public_repos/code-share/maxflow/galois/tools/generators | rapidsai_public_repos/code-share/maxflow/galois/tools/generators/desNetlistGen/netlistlib.pl | my $MAX_INTER = 100;
my $FinishTime = 100000;
sub genPortVector {
my ($prefix,$numBits) = @_;
my $str="";
my $sep = "";
if( $numBits == 1 ) {
$str = $prefix;
}
else {
foreach my $i ( 0..$numBits-1 ) {
$str = $str.$sep."${prefix}$i";
$sep=", ";
}
}
return... | 0 |
rapidsai_public_repos/code-share/maxflow/galois/tools/generators | rapidsai_public_repos/code-share/maxflow/galois/tools/generators/desNetlistGen/forloop.m4 | divert(-1)
# forloop(i, from, to, stmt)
define(`forloop', `pushdef(`$1', `$2')_forloop($@)popdef(`$1')')
define(`_forloop',
`$4`'ifelse($1, `$3',`', `define(`$1', incr($1))$0($@)')')
divert`'dnl
| 0 |
rapidsai_public_repos/code-share/maxflow/galois/tools/generators | rapidsai_public_repos/code-share/maxflow/galois/tools/generators/desNetlistGen/devicelib.pl | my $Delay=5;
sub genAdder1bit {
my ($s,$cout,$a,$b,$cin)=@_;
my $adder1Bit = <<END_HERE;
inv(${a}n,${a})#4
inv(${b}n,${b})#4
inv(${cin}n,${cin})#4
and2(${a}n${b}n,${a}n,${b}n)#2
and2(${a}n${b},${a}n,${b})#2
and2(${a}${b}n,${a},${b}n)#2
and2(${a}${b},${a},${b})#3
and2(${a}${b}${cin},${a}${b},${cin})#2
and2($... | 0 |
rapidsai_public_repos/code-share/maxflow/galois/tools/generators | rapidsai_public_repos/code-share/maxflow/galois/tools/generators/desNetlistGen/genTreeMult.pl | #!/usr/bin/perl
#
use strict;
use warnings;
require "devicelib.pl";
require "netlistlib.pl";
my $numBits = shift @ARGV;
my $aVal = 2**$numBits-1;
my $bVal = 2**$numBits-1;
my $mVal = $aVal*$bVal ;
genMultTest(*STDOUT, $numBits, $mVal, $aVal, $bVal );
| 0 |
rapidsai_public_repos/code-share/maxflow/galois/tools/generators | rapidsai_public_repos/code-share/maxflow/galois/tools/generators/desNetlistGen/testAdderRC.pl | #!/usr/bin/perl
use strict;
use warnings;
require "../scripts/netlistLib.pl";
require "../scripts/devicelib.pl";
srand(time);
my $MAX_TIME=100;
my $FinishTime = 10000;
my $NUM_THREADS = 4;
my $DEBUG=0;
my $numBits = shift @ARGV;
$NUM_THREADS = (@ARGV) ? shift @ARGV : $NUM_THREADS;
testAdderRC($numBits);
s... | 0 |
rapidsai_public_repos/code-share/maxflow/galois/tools/generators | rapidsai_public_repos/code-share/maxflow/galois/tools/generators/desNetlistGen/xorNandArrayGen.pl | #!/usr/bin/perl
use strict;
use warnings;
my $N = shift @ARGV;
print "inputs ";
foreach my $i( 0..$N-1 ) {
print "a$i, b$i, ";
}
print "\nend\n\n";
print "outputs ";
foreach my $i( 0..$N-1 ) {
print "o$i, ";
}
print "\nend\n\n";
print "finish=10000\n\n";
foreach my $i( 0..$N-1 ) {
print "initlist a$i\... | 0 |
rapidsai_public_repos/code-share/maxflow/galois/tools/generators | rapidsai_public_repos/code-share/maxflow/galois/tools/generators/desNetlistGen/adder_Nbit.m4 | include(`forloop.m4')
include(`adder_1bit.m4')
define(N,1)
finish=2000
inputs cin, forloop(`i',`0',N, ``a'i, ')
end
inputs forloop(`i',`0',N, ``b'i, ')
end
outputs `r'N forloop(`i',`0',N, ``s'i, ')
end
initlist cin
0,0
21,1
end
forloop(`i',`0', N, `initlist `a'i
0,1
end
')
forloop(`i',`0', N, `initlist `b'i... | 0 |
rapidsai_public_repos/code-share/maxflow/galois/tools | rapidsai_public_repos/code-share/maxflow/galois/tools/comparisons/bfs.sh | #!/bin/bash
#
# Compare performance with Schardl BFS program
BASE="$(cd $(dirname $0); cd ../..; pwd)"
if [[ ! -e Makefile ]]; then
echo "Execute this script from the base of your build directory" 1>&2
exit 1
fi
if [[ ! -e "${BASE}/tools/bin/bfs-schardl" ]]; then
echo "Execute make more-tools before running th... | 0 |
rapidsai_public_repos/code-share/maxflow/galois/tools | rapidsai_public_repos/code-share/maxflow/galois/tools/comparisons/kruskal.sh | #!/bin/bash
#
# Compare performance with PBBS minimal spanning tree program
BASE="$(cd $(dirname $0); cd ../..; pwd)"
if [[ ! -e Makefile ]]; then
echo "Execute this script from the base of your build directory" 1>&2
exit 1
fi
if [[ ! -e "${BASE}/tools/bin/kruskal-pbbs" ]]; then
echo "Execute make more-tools b... | 0 |
rapidsai_public_repos/code-share/maxflow/galois/tools | rapidsai_public_repos/code-share/maxflow/galois/tools/comparisons/CMakeLists.txt | set(sources hi_pr.sh SSCA2.sh triangle.sh bfs.sh independentset.sh kruskal.sh)
file(COPY ${sources} DESTINATION .)
| 0 |
rapidsai_public_repos/code-share/maxflow/galois/tools | rapidsai_public_repos/code-share/maxflow/galois/tools/comparisons/independentset.sh | #!/bin/bash
#
# Compare performance with PBBS maximal independent set program
BASE="$(cd $(dirname $0); cd ../..; pwd)"
if [[ ! -e Makefile ]]; then
echo "Execute this script from the base of your build directory" 1>&2
exit 1
fi
if [[ ! -e "${BASE}/tools/bin/independentset-pbbs" ]]; then
echo "Execute make mor... | 0 |
rapidsai_public_repos/code-share/maxflow/galois/tools | rapidsai_public_repos/code-share/maxflow/galois/tools/comparisons/triangle.sh | #!/bin/bash
#
# Compare performance with triangle program
BASE="$(cd $(dirname $0); cd ../..; pwd)"
if [[ ! -e Makefile ]]; then
echo "Execute this script from the base of your build directory" 1>&2
exit 1
fi
if [[ ! -e "${BASE}/tools/bin/triangle" ]]; then
echo "Execute make more-tools before running this scr... | 0 |
rapidsai_public_repos/code-share/maxflow/galois/tools | rapidsai_public_repos/code-share/maxflow/galois/tools/comparisons/SSCA2.sh | #!/bin/bash
#
# Compare performance with SSCA2 program
BASE="$(cd $(dirname $0); cd ../..; pwd)"
if [[ ! -e Makefile ]]; then
echo "Execute this script from the base of your build directory" 1>&2
exit 1
fi
if [[ ! -e ${BASE}/tools/bin/SSCA2 ]]; then
echo "Execute make more-tools before running this script" 1>&... | 0 |
rapidsai_public_repos/code-share/maxflow/galois/tools | rapidsai_public_repos/code-share/maxflow/galois/tools/comparisons/hi_pr.sh | #!/bin/bash
#
# Compare performance with triangle program
BASE="$(cd $(dirname $0); cd ../..; pwd)"
if [[ ! -e ${BASE}/tools/bin/hi_pr ]]; then
echo "Execute make more-tools before running this script" 1>&2
exit 1
fi
G=$1
SOURCE=$2
SINK=$3
if [[ -z "$SINK" ]]; then
echo "usage: $(basename $0) <graph.gr> <sourc... | 0 |
rapidsai_public_repos/code-share/maxflow/galois/tools | rapidsai_public_repos/code-share/maxflow/galois/tools/graph-convert-standalone/CMakeLists.txt | add_executable(graph-convert-standalone ../graph-convert/graph-convert.cpp)
target_link_libraries(graph-convert-standalone galois-nothreads)
install(TARGETS graph-convert-standalone EXPORT GaloisTargets RUNTIME DESTINATION "${INSTALL_BIN_DIR}" COMPONENT bin)
| 0 |
rapidsai_public_repos/code-share/maxflow/galois/tools | rapidsai_public_repos/code-share/maxflow/galois/tools/graph-convert/CMakeLists.txt | app(graph-convert graph-convert.cpp)
install(TARGETS graph-convert EXPORT GaloisTargets RUNTIME DESTINATION "${INSTALL_BIN_DIR}" COMPONENT bin)
| 0 |
rapidsai_public_repos/code-share/maxflow/galois/tools | rapidsai_public_repos/code-share/maxflow/galois/tools/graph-convert/graph-convert.cpp | /** Graph converter -*- C++ -*-
* @file
* @section License
*
* Galois, a framework to exploit amorphous data-parallelism in irregular
* programs.
*
* Copyright (C) 2013, The University of Texas at Austin. All rights reserved.
* UNIVERSITY EXPRESSLY DISCLAIMS ANY AND ALL WARRANTIES CONCERNING THIS
* SOFTWARE AN... | 0 |
rapidsai_public_repos/code-share/maxflow/galois/cmake | rapidsai_public_repos/code-share/maxflow/galois/cmake/Modules/FindTBB.cmake | # Locate Intel Threading Building Blocks include paths and libraries
# FindTBB.cmake can be found at https://code.google.com/p/findtbb/
# Written by Hannes Hofmann <hannes.hofmann _at_ informatik.uni-erlangen.de>
# Improvements by Gino van den Bergen <gino _at_ dtecta.com>,
# Florian Uhlig <F.Uhlig _at_ gsi.de>,
# ... | 0 |
rapidsai_public_repos/code-share/maxflow/galois/cmake | rapidsai_public_repos/code-share/maxflow/galois/cmake/Modules/UseDoxygen.cmake | # - Run Doxygen
#
# Adds a doxygen target that runs doxygen to generate the html
# and optionally the LaTeX API documentation.
# The doxygen target is added to the doc target as a dependency.
# i.e.: the API documentation is built with:
# make doc
#
# USAGE: GLOBAL INSTALL
#
# Install it with:
# cmake ./ && sudo make... | 0 |
rapidsai_public_repos/code-share/maxflow/galois/cmake | rapidsai_public_repos/code-share/maxflow/galois/cmake/Modules/HandleLLVMOptions.cmake | include(AddLLVMDefinitions)
if( CMAKE_COMPILER_IS_GNUCXX )
set(LLVM_COMPILER_IS_GCC_COMPATIBLE ON)
elseif( "${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang" )
set(LLVM_COMPILER_IS_GCC_COMPATIBLE ON)
endif()
# Run-time build mode; It is used for unittests.
if(MSVC_IDE)
# Expect "$(Configuration)", "$(OutDir)", etc.
#... | 0 |
rapidsai_public_repos/code-share/maxflow/galois/cmake | rapidsai_public_repos/code-share/maxflow/galois/cmake/Modules/FindPAPI.cmake | # Find PAPI libraries
# Once done this will define
# PAPI_FOUND - System has PAPI
# PAPI_INCLUDE_DIRS - The PAPI include directories
# PAPI_LIBRARIES - The libraries needed to use PAPI
if(PAPI_INCLUDE_DIRS AND PAPI_LIBRARIES)
set(PAPI_FIND_QUIETLY TRUE)
endif()
find_path(PAPI_INCLUDE_DIRS papi.h PATHS ${PAPI_ROO... | 0 |
rapidsai_public_repos/code-share/maxflow/galois/cmake | rapidsai_public_repos/code-share/maxflow/galois/cmake/Modules/AddLLVMDefinitions.cmake | # There is no clear way of keeping track of compiler command-line
# options chosen via `add_definitions', so we need our own method for
# using it on tools/llvm-config/CMakeLists.txt.
# Beware that there is no implementation of remove_llvm_definitions.
macro(add_llvm_definitions)
# We don't want no semicolons on LL... | 0 |
rapidsai_public_repos/code-share/maxflow/galois/cmake | rapidsai_public_repos/code-share/maxflow/galois/cmake/Modules/llvm-extras.cmake | include(HandleLLVMOptions)
if( WIN32 AND NOT CYGWIN )
# We consider Cygwin as another Unix
set(PURE_WINDOWS 1)
endif()
include(CheckIncludeFile)
include(CheckLibraryExists)
include(CheckSymbolExists)
include(CheckFunctionExists)
include(CheckCXXSourceCompiles)
include(TestBigEndian)
if( UNIX AND NOT BEOS )
# U... | 0 |
rapidsai_public_repos/code-share/maxflow/galois/cmake | rapidsai_public_repos/code-share/maxflow/galois/cmake/Modules/GetSVNVersion.cmake | # DUMMY is a non-existent file to force regeneration of svn header every build
add_custom_target(svnversion ALL DEPENDS DUMMY ${PROJECT_BINARY_DIR}/include/Galois/svnversion.h)
find_file(_MODULE "GetSVNVersion-write.cmake" PATHS ${CMAKE_MODULE_PATH})
add_custom_command(OUTPUT DUMMY ${PROJECT_BINARY_DIR}/include/Galoi... | 0 |
rapidsai_public_repos/code-share/maxflow/galois/cmake | rapidsai_public_repos/code-share/maxflow/galois/cmake/Modules/UseStdMacro.cmake | add_definitions(-D__STDC_LIMIT_MACROS)
add_definitions(-D__STDC_CONSTANT_MACROS)
| 0 |
rapidsai_public_repos/code-share/maxflow/galois/cmake | rapidsai_public_repos/code-share/maxflow/galois/cmake/Modules/CheckHugePages.cmake | include(CheckCSourceRuns)
set(HugePages_C_TEST_SOURCE
"
#ifdef __linux__
#include <linux/mman.h>
#endif
#include <sys/mman.h>
int main(int c, char** argv) {
void *ptr = mmap(0, 2*1024*1024, PROT_READ|PROT_WRITE, MAP_HUGETLB, -1, 0);
return ptr != MAP_FAILED;
}
")
CHECK_C_SOURCE_RUNS("${HugePages_C_TEST_SOURCE}" H... | 0 |
rapidsai_public_repos/code-share/maxflow/galois/cmake | rapidsai_public_repos/code-share/maxflow/galois/cmake/Modules/GetSVNVersion-write.cmake | ### Don't include directly, for use by GetSVNVersion.cmake
find_package(Subversion)
# Extract svn info into MY_XXX variables
if(Subversion_FOUND)
Subversion_WC_INFO(${SOURCE_DIR} MY)
if (Subversion_FOUND)
file(WRITE include/Galois/svnversion.h.txt "#define GALOIS_SVNVERSION ${MY_WC_REVISION}\n")
else()
fi... | 0 |
rapidsai_public_repos/code-share/maxflow/galois/cmake | rapidsai_public_repos/code-share/maxflow/galois/cmake/Modules/FindEigen.cmake | # Find Eigen library
# Once done this will define
# Eigen_FOUND - System has Eigen
# Eigen_INCLUDE_DIRS - The Eigen include directories
# Eigen_LIBRARIES - The libraries needed to use Eigen
set(Eigen_LIBRARIES) # Include-only library
if(Eigen_INCLUDE_DIR)
set(Eigen_FIND_QUIETLY TRUE)
endif()
find_path(Eigen_INC... | 0 |
rapidsai_public_repos/code-share/maxflow/galois/cmake | rapidsai_public_repos/code-share/maxflow/galois/cmake/Modules/CheckCilk.cmake | include(CheckCXXSourceCompiles)
set(Cilk_CXX_TEST_SOURCE
"
#include <cilk/cilk.h>
int main(){ cilk_for(int i=0;i<1; ++i); }
")
CHECK_CXX_SOURCE_COMPILES("${Cilk_CXX_TEST_SOURCE}" HAVE_CILK)
if(HAVE_CILK)
message(STATUS "A compiler with CILK support found")
endif()
| 0 |
rapidsai_public_repos/code-share/maxflow/galois/cmake | rapidsai_public_repos/code-share/maxflow/galois/cmake/Modules/FindSubversion.cmake | # - Extract information from a subversion working copy
# The module defines the following variables:
# Subversion_SVN_EXECUTABLE - path to svn command line client
# Subversion_VERSION_SVN - version of svn command line client
# Subversion_FOUND - true if the command line client was found
# If the command line client ... | 0 |
rapidsai_public_repos/code-share/maxflow/galois/cmake | rapidsai_public_repos/code-share/maxflow/galois/cmake/Modules/CheckEndian.cmake | include(TestBigEndian)
TEST_BIG_ENDIAN(HAVE_BIG_ENDIAN)
include(CheckIncludeFiles)
CHECK_INCLUDE_FILES(endian.h HAVE_ENDIAN_H)
include(CheckSymbolExists)
CHECK_SYMBOL_EXISTS(le64toh "endian.h" HAVE_LE64TOH)
CHECK_SYMBOL_EXISTS(le32toh "endian.h" HAVE_LE32TOH)
| 0 |
rapidsai_public_repos/code-share/maxflow/galois/cmake | rapidsai_public_repos/code-share/maxflow/galois/cmake/Modules/CheckCXX11Features.cmake | include(CheckCXXSourceCompiles)
include(CMakePushCheckState)
set(CheckUniformIntDistribution
"
#include <random>
int main(){
std::mt19937 gen;
std::uniform_int_distribution<int> r(0, 6);
return r(gen);
}
")
set(CheckUniformRealDistribution
"
#include <random>
int main(){
std::mt19937 gen;
std::uniform_real_... | 0 |
rapidsai_public_repos/code-share/maxflow/galois/cmake | rapidsai_public_repos/code-share/maxflow/galois/cmake/Modules/FindHPCToolKit.cmake | # Find HPCToolKit libraries
# Once done this will define
# HPCToolKit_FOUND - System has lib
# HPCToolKit_INCLUDE_DIRS - The include directories
# HPCToolKit_LIBRARIES - The libraries needed to use
if(HPCToolKit_INCLUDE_DIRS AND HPCToolKit_LIBRARIES)
set(HPCToolKit_FIND_QUIETLY TRUE)
endif()
find_path(HPCToolKit... | 0 |
rapidsai_public_repos/code-share/maxflow/galois/cmake | rapidsai_public_repos/code-share/maxflow/galois/cmake/Modules/FindNUMA.cmake | # Find numa library
# Once done this will define
# NUMA_FOUND - libnuma found
# NUMA_OLD - old libnuma API
if(NOT NUMA_FOUND)
find_library(NUMA_LIBRARIES NAMES numa PATH_SUFFIXES lib lib64)
if(NUMA_LIBRARIES)
include(CheckLibraryExists)
check_library_exists(${NUMA_LIBRARIES} numa_available "" NUMA_FOUND_I... | 0 |
rapidsai_public_repos/code-share/maxflow/galois/cmake | rapidsai_public_repos/code-share/maxflow/galois/cmake/Modules/FindVTune.cmake | # Find VTune libraries
# Once done this will define
# VTune_FOUND - System has VTune
# VTune_INCLUDE_DIRS - The VTune include directories
# VTune_LIBRARIES - The libraries needed to use VTune
if(VTune_INCLUDE_DIRS AND VTune_LIBRARIES)
set(VTune_FIND_QUIETLY TRUE)
endif()
find_path(VTune_INCLUDE_DIRS ittnotify.h ... | 0 |
rapidsai_public_repos/code-share/maxflow/galois/cmake | rapidsai_public_repos/code-share/maxflow/galois/cmake/Modules/GaloisConfig.cmake.in | # Config file for the Galois package
# It defines the following variables
# Galois_INCLUDE_DIRS
# Galois_LIBRARIES
# Galois_CXX_COMPILER
# Galois_CXX_FLAGS
get_filename_component(GALOIS_CMAKE_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
set(Galois_INCLUDE_DIRS "@GALOIS_INCLUDE_DIR@")
set(Galois_INCLUDE_DIRS ${Galois_INC... | 0 |
rapidsai_public_repos/code-share/maxflow/galois/cmake | rapidsai_public_repos/code-share/maxflow/galois/cmake/Modules/GaloisConfigVersion.cmake.in | set(PACKAGE_VERSION "@GALOIS_VERSION@")
# Check whether the requested PACKAGE_FIND_VERSION is compatible
if("${PACKAGE_VERSION}" VERSION_LESS "${PACKAGE_FIND_VERSION}")
set(PACKAGE_VERSION_COMPATIBLE FALSE)
else()
set(PACKAGE_VERSION_COMPATIBLE TRUE)
if ("${PACKAGE_VERSION}" VERSION_EQUAL "${PACKAGE_FIND_VERSIO... | 0 |
rapidsai_public_repos/code-share/maxflow/galois/cmake | rapidsai_public_repos/code-share/maxflow/galois/cmake/Modules/FindCXX11.cmake | # Find C++11 flags
# Once done this will define
# CXX11_FLAGS - Compiler flags to enable C++11
include(CheckCXXCompilerFlag)
# This covers gcc, icc, clang, xlc
# Place xlc (-qlanglvl=extended0x) first because xlc parses -std but does not
# halt even with -qhalt=i
set(CXX11_FLAG_CANDIDATES -qlanglvl=extended0x -std=c... | 0 |
rapidsai_public_repos/code-share/maxflow/galois/cmake | rapidsai_public_repos/code-share/maxflow/galois/cmake/Modules/FindGMP.cmake | # Find the GMP librairies
# GMP_FOUND - system has GMP lib
# GMP_INCLUDE_DIR - the GMP include directory
# GMP_LIBRARIES - Libraries needed to use GMP
# Copyright (c) 2006, Laurent Montel, <montel@kde.org>
#
# Redistribution and use is allowed according to the terms of the BSD license.
# For details see the accompa... | 0 |
rapidsai_public_repos/code-share/maxflow/galois/cmake | rapidsai_public_repos/code-share/maxflow/galois/cmake/Modules/FindFortran.cmake | # Check if Fortran is possibly around before using enable_lanauge because
# enable_language(... OPTIONAL) does not fail gracefully if language is not
# found:
# http://public.kitware.com/Bug/view.php?id=9220
set(Fortran_EXECUTABLE)
if(Fortran_EXECUTABLE)
set(Fortran_FIND_QUIETLY TRUE)
endif()
find_program(Fortran_EX... | 0 |
rapidsai_public_repos/code-share/maxflow/galois/cmake | rapidsai_public_repos/code-share/maxflow/galois/cmake/Modules/FindQGLViewer.cmake | # Find QGLViewer libraries
# Once done this will define
# QGLViewer_FOUND - System has QGLViewer
# QGLViewer_INCLUDE_DIRS - The QGLViewer include directories
# QGLViewer_LIBRARIES - The libraries needed to use QGLViewer
if(QGLViewer_INCLUDE_DIRS AND QGLVIEWER_LIBRARIES)
set(QGLViewer_FIND_QUIETLY TRUE)
endif()
f... | 0 |
rapidsai_public_repos/code-share/maxflow/galois/cmake | rapidsai_public_repos/code-share/maxflow/galois/cmake/Modules/ParseArguments.cmake | # Parse arguments passed to a function into several lists separated by
# upper-case identifiers and options that do not have an associated list e.g.:
#
# SET(arguments
# hello OPTION3 world
# LIST3 foo bar
# OPTION2
# LIST1 fuz baz
# )
# PARSE_ARGUMENTS(ARG "LIST1;LIST2;LIST3" "OPTION1;OPTION2;OPTION3" ${argu... | 0 |
rapidsai_public_repos/code-share/maxflow/galois/cmake | rapidsai_public_repos/code-share/maxflow/galois/cmake/Toolchain/ppc64-bgq-linux-clang.cmake | set(CMAKE_SYSTEM_NAME BlueGeneQ-static)
set(CMAKE_SYSTEM_VERSION 1)
set(CMAKE_C_COMPILER bgclang)
set(CMAKE_CXX_COMPILER bgclang++11)
set(CMAKE_FIND_ROOT_PATH)
set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
set(USE_BGQ on)
| 0 |
rapidsai_public_repos/code-share/maxflow/galois/cmake | rapidsai_public_repos/code-share/maxflow/galois/cmake/Toolchain/ppc64-bgq-linux-tryrunresults.cmake | # This file was generated by CMake because it detected TRY_RUN() commands
# in crosscompiling mode. It will be overwritten by the next CMake run.
# Copy it to a safe location, set the variables to appropriate values
# and use it then to preset the CMake cache (using -C).
# HAVE_HUGEPAGES_EXITCODE
# indicates wheth... | 0 |
rapidsai_public_repos/code-share/maxflow/galois/cmake | rapidsai_public_repos/code-share/maxflow/galois/cmake/Toolchain/ppc64-bgq-linux-xlc.cmake | set(CMAKE_SYSTEM_NAME BlueGeneQ-static)
set(CMAKE_SYSTEM_VERSION 1)
set(CMAKE_C_COMPILER bgxlc_r)
set(CMAKE_CXX_COMPILER bgxlc++_r)
set(CMAKE_FIND_ROOT_PATH)
set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
set(USE_BGQ on)
set(GALOIS_US... | 0 |
rapidsai_public_repos/code-share/maxflow/galois | rapidsai_public_repos/code-share/maxflow/galois/src/OCFileGraph.cpp | /** OCFilegraph -*- C++ -*-
* @file
* @section License
*
* Galois, a framework to exploit amorphous data-parallelism in irregular
* programs.
*
* Copyright (C) 2013, The University of Texas at Austin. All rights reserved.
* UNIVERSITY EXPRESSLY DISCLAIMS ANY AND ALL WARRANTIES CONCERNING THIS
* SOFTWARE AND DO... | 0 |
rapidsai_public_repos/code-share/maxflow/galois | rapidsai_public_repos/code-share/maxflow/galois/src/Support.cpp | /** Support functions -*- C++ -*-
* @file
* @section 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 ... | 0 |
rapidsai_public_repos/code-share/maxflow/galois | rapidsai_public_repos/code-share/maxflow/galois/src/FileGraph.cpp | /** File graph -*- C++ -*-
* @file
* @section License
*
* Galois, a framework to exploit amorphous data-parallelism in irregular
* programs.
*
* Copyright (C) 2013, The University of Texas at Austin. All rights reserved.
* UNIVERSITY EXPRESSLY DISCLAIMS ANY AND ALL WARRANTIES CONCERNING THIS
* SOFTWARE AND DOC... | 0 |
rapidsai_public_repos/code-share/maxflow/galois | rapidsai_public_repos/code-share/maxflow/galois/src/CMakeLists.txt | set(sources Barrier.cpp Context.cpp FileGraph.cpp FileGraphParallel.cpp
OCFileGraph.cpp PerThreadStorage.cpp PreAlloc.cpp Sampling.cpp Support.cpp
Termination.cpp Threads.cpp ThreadPool_pthread.cpp Timer.cpp)
set(include_dirs "${PROJECT_SOURCE_DIR}/include/")
if(USE_EXP)
file(GLOB exp_sources ../exp/src/*.cpp)
... | 0 |
rapidsai_public_repos/code-share/maxflow/galois | rapidsai_public_repos/code-share/maxflow/galois/src/Termination.cpp | /** Dikstra style termination detection -*- C++ -*-
* @file
* @section 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
* CONCER... | 0 |
rapidsai_public_repos/code-share/maxflow/galois | rapidsai_public_repos/code-share/maxflow/galois/src/Sampling.cpp | /** Sampling implementation -*- C++ -*-
* @file
* @section License
*
* Galois, a framework to exploit amorphous data-parallelism in irregular
* programs.
*
* Copyright (C) 2013, The University of Texas at Austin. All rights reserved.
* UNIVERSITY EXPRESSLY DISCLAIMS ANY AND ALL WARRANTIES CONCERNING THIS
* SOF... | 0 |
rapidsai_public_repos/code-share/maxflow/galois | rapidsai_public_repos/code-share/maxflow/galois/src/ThreadPool_cray.cpp | /*
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
... | 0 |
rapidsai_public_repos/code-share/maxflow/galois | rapidsai_public_repos/code-share/maxflow/galois/src/FileGraphParallel.cpp | /** Parallel implementations for FileGraph -*- C++ -*-
* @file
* @section License
*
* Galois, a framework to exploit amorphous data-parallelism in irregular
* programs.
*
* Copyright (C) 2013, The University of Texas at Austin. All rights reserved.
* UNIVERSITY EXPRESSLY DISCLAIMS ANY AND ALL WARRANTIES CONCERN... | 0 |
rapidsai_public_repos/code-share/maxflow/galois | rapidsai_public_repos/code-share/maxflow/galois/src/ThreadPool_pthread.cpp | /** pthread thread pool implementation -*- C++ -*-
* @file
* @section License
*
* Galois, a framework to exploit amorphous data-parallelism in irregular
* programs.
*
* Copyright (C) 2013, The University of Texas at Austin. All rights reserved.
* UNIVERSITY EXPRESSLY DISCLAIMS ANY AND ALL WARRANTIES CONCERNING ... | 0 |
rapidsai_public_repos/code-share/maxflow/galois | rapidsai_public_repos/code-share/maxflow/galois/src/Context.cpp | /** simple galois context and contention manager -*- C++ -*-
* @file
* @section License
*
* Galois, a framework to exploit amorphous data-parallelism in irregular
* programs.
*
* Copyright (C) 2012, The University of Texas at Austin. All rights reserved.
* UNIVERSITY EXPRESSLY DISCLAIMS ANY AND ALL WARRANTIES C... | 0 |
rapidsai_public_repos/code-share/maxflow/galois | rapidsai_public_repos/code-share/maxflow/galois/src/Timer.cpp | /** Simple timer support -*- C++ -*-
* @file
* @section License
*
* Galois, a framework to exploit amorphous data-parallelism in irregular
* programs.
*
* Copyright (C) 2013, The University of Texas at Austin. All rights reserved.
* UNIVERSITY EXPRESSLY DISCLAIMS ANY AND ALL WARRANTIES CONCERNING THIS
* SOFTWA... | 0 |
rapidsai_public_repos/code-share/maxflow/galois | rapidsai_public_repos/code-share/maxflow/galois/src/mainpage.dox | /**
\mainpage
@section Description
Galois API documentation. Example programs can be found in the apps/tutorial
directory. High-level descriptions of irregular algorithms can be found
at the <a href="http://iss.ices.utexas.edu/galois">Galois webpage</a>.
@section License
Galois, a framework to exploit amorphous dat... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.