repo_id
stringlengths
21
96
file_path
stringlengths
31
155
content
stringlengths
1
92.9M
__index_level_0__
int64
0
0
rapidsai_public_repos/cuxfilter/docs/source
rapidsai_public_repos/cuxfilter/docs/source/api_reference/dataframe.rst
API Reference ============= The two main components to cuxfilter are `DataFrame` for connecting the dashboard to a cuDF backed dataframe, and `Dashboard` for setting dashboard options. .. currentmodule:: cuxfilter.dataframe DataFrame --------- .. autoclass:: DataFrame :members: .. currentmodule:: cuxfilter.das...
0
rapidsai_public_repos/cuxfilter
rapidsai_public_repos/cuxfilter/ci/test_python.sh
#!/bin/bash # Copyright (c) 2022-2023, NVIDIA CORPORATION. set -euo pipefail . /opt/conda/etc/profile.d/conda.sh rapids-logger "Generate Python testing dependencies" rapids-dependency-file-generator \ --output conda \ --file_key test_python \ --matrix "cuda=${RAPIDS_CUDA_VERSION%.*};arch=$(arch);py=${RAPIDS_PY...
0
rapidsai_public_repos/cuxfilter
rapidsai_public_repos/cuxfilter/ci/test_external.sh
#!/bin/bash # Copyright (c) 2023, NVIDIA CORPORATION. set -e rapids-logger "Create test_external conda environment" . /opt/conda/etc/profile.d/conda.sh # Install external dependencies into test_external conda environment rapids-mamba-retry env update -f ./ci/utils/external_dependencies.yaml conda activate test_exte...
0
rapidsai_public_repos/cuxfilter
rapidsai_public_repos/cuxfilter/ci/build_python.sh
#!/bin/bash # Copyright (c) 2022, NVIDIA CORPORATION. set -euo pipefail source rapids-env-update rapids-print-env package_name="cuxfilter" package_dir="python" version=$(rapids-generate-version) commit=$(git rev-parse HEAD) echo "${version}" > VERSION sed -i "/^__git_commit__/ s/= .*/= \"${commit}\"/g" "${package...
0
rapidsai_public_repos/cuxfilter
rapidsai_public_repos/cuxfilter/ci/build_wheel.sh
#!/bin/bash # Copyright (c) 2023, NVIDIA CORPORATION. set -euo pipefail package_name="cuxfilter" package_dir="python" source rapids-configure-sccache source rapids-date-string version=$(rapids-generate-version) commit=$(git rev-parse HEAD) RAPIDS_PY_CUDA_SUFFIX="$(rapids-wheel-ctk-name-gen ${RAPIDS_CUDA_VERSION})"...
0
rapidsai_public_repos/cuxfilter
rapidsai_public_repos/cuxfilter/ci/check_style.sh
#!/bin/bash # Copyright (c) 2020-2022, NVIDIA CORPORATION. set -euo pipefail rapids-logger "Create checks conda environment" . /opt/conda/etc/profile.d/conda.sh rapids-dependency-file-generator \ --output conda \ --file_key checks \ --matrix "cuda=${RAPIDS_CUDA_VERSION%.*};arch=$(arch);py=${RAPIDS_PY_VERSION}"...
0
rapidsai_public_repos/cuxfilter
rapidsai_public_repos/cuxfilter/ci/test_wheel.sh
#!/bin/bash # Copyright (c) 2023, NVIDIA CORPORATION. set -eou pipefail RAPIDS_PY_CUDA_SUFFIX="$(rapids-wheel-ctk-name-gen ${RAPIDS_CUDA_VERSION})" RAPIDS_PY_WHEEL_NAME="cuxfilter_${RAPIDS_PY_CUDA_SUFFIX}" rapids-download-wheels-from-s3 ./dist # echo to expand wildcard before adding `[extra]` requires for pip python...
0
rapidsai_public_repos/cuxfilter
rapidsai_public_repos/cuxfilter/ci/test_notebooks.sh
#!/bin/bash # Copyright (c) 2020-2023, NVIDIA CORPORATION. set -euo pipefail . /opt/conda/etc/profile.d/conda.sh rapids-logger "Generate notebook testing dependencies" rapids-dependency-file-generator \ --output conda \ --file_key test_notebooks \ --matrix "cuda=${RAPIDS_CUDA_VERSION%.*};arch=$(arch);py=${RAPI...
0
rapidsai_public_repos/cuxfilter
rapidsai_public_repos/cuxfilter/ci/build_docs.sh
#!/bin/bash set -euo pipefail rapids-logger "Create test conda environment" . /opt/conda/etc/profile.d/conda.sh rapids-dependency-file-generator \ --output conda \ --file_key docs \ --matrix "cuda=${RAPIDS_CUDA_VERSION%.*};arch=$(arch);py=${RAPIDS_PY_VERSION}" | tee env.yaml rapids-mamba-retry env creat...
0
rapidsai_public_repos/cuxfilter/ci
rapidsai_public_repos/cuxfilter/ci/release/update-version.sh
#!/bin/bash # Copyright (c) 2020-2023, NVIDIA CORPORATION. ############################# # cuxfilter Version Updater # ############################# ## Usage # bash update-version.sh <new_version> # Format is YY.MM.PP - no leading 'v' or trailing 'a' NEXT_FULL_TAG=$1 # Get current version CURRENT_TAG=$(git tag --me...
0
rapidsai_public_repos/cuxfilter/ci
rapidsai_public_repos/cuxfilter/ci/utils/external_dependencies.yaml
name: test_external channels: - rapidsai-nightly - conda-forge - nvidia dependencies: - cudf==23.12.* - dask-cudf==23.12.* - cuxfilter==23.12.* - cuda-version=12.0 - python=3.10 - tensorflow - xarray-spatial - pycaret - graphistry - dash - dask-sql - pytest-benchmark
0
rapidsai_public_repos/cuxfilter/ci
rapidsai_public_repos/cuxfilter/ci/utils/nbtest.sh
#!/bin/bash MAGIC_OVERRIDE_CODE=" def my_run_line_magic(*args, **kwargs): g=globals() l={} for a in args: try: exec(str(a),g,l) except Exception as e: print('WARNING: %s\n While executing this magic function code:\n%s\n continuing...\n' % (e, a)) else: ...
0
rapidsai_public_repos/cuxfilter/ci
rapidsai_public_repos/cuxfilter/ci/utils/wheel_smoke_test.py
import cuxfilter if __name__ == '__main__': assert cuxfilter.__version__ is not None
0
rapidsai_public_repos/cuxfilter/ci
rapidsai_public_repos/cuxfilter/ci/utils/nbtestlog2junitxml.py
# Generate a junit-xml file from parsing a nbtest log import re from xml.etree.ElementTree import Element, ElementTree from os import path import string from enum import Enum startingPatt = re.compile("^STARTING: ([\w\.\-]+)$") skippingPatt = re.compile("^SKIPPING: ([\w\.\-]+)\s*(\(([\w\.\-\ \,]+)\))?\s*$") exitCode...
0
rapidsai_public_repos
rapidsai_public_repos/shared-workflows/renovate.json
{ "$schema": "https://docs.renovatebot.com/renovate-schema.json", "extends": ["config:base"] }
0
rapidsai_public_repos
rapidsai_public_repos/shared-workflows/README.md
# shared-workflows ## Introduction This repository contains [reusable GitHub Action workflows](https://docs.github.com/en/actions/using-workflows/reusing-workflows) and [composite actions](https://docs.github.com/en/actions/creating-actions/creating-a-composite-action). See the articles below for a comparison betwee...
0
rapidsai_public_repos
rapidsai_public_repos/shared-workflows/LICENSE
Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 1. Definitions. "License" shall mean the terms and conditions for use, reproduction, ...
0
rapidsai_public_repos/shared-workflows/ci
rapidsai_public_repos/shared-workflows/ci/release/update-version.sh
#!/bin/bash # Copyright (c) 2019-2023, NVIDIA CORPORATION. ########################################### # shared-workflows Version Updater # ########################################### ## Usage # bash update-version.sh <new_version> # Format is YY.MM.PP - no leading 'v' or trailing 'a' NEXT_FULL_TAG=$1 #Get <major>.<...
0
rapidsai_public_repos
rapidsai_public_repos/code-share/README.md
# Rapids - Code Share This repository is a way to share experimental codes that are not yet integrated in RAPIDS products. Prototypes may not build or run.
0
rapidsai_public_repos/code-share
rapidsai_public_repos/code-share/maxflow/galois-preflowpush.sh
#!/bin/sh #Wrapper for galois maxflow if [ "$#" -lt "3" ] then echo "Usage : $0 <matrix gr format> <source> <target>" exit 0 fi s=$(($2 - 1)) #base 0 in galois t=$(($3 - 1)) #Moving to own directory DIR="$( cd "$(dirname "$0")" && pwd )" $DIR/galois/build/apps/preflowpush/preflowpush "$1" "$s" "$t" -t 12 --noveri...
0
rapidsai_public_repos/code-share
rapidsai_public_repos/code-share/maxflow/config.h
// // Config for maxflow // typedef double flow_t; #define FLOW_INF DBL_MAX
0
rapidsai_public_repos/code-share
rapidsai_public_repos/code-share/maxflow/graph_tools_cpu.cpp
// Copyright (c) 2016, NVIDIA CORPORATION. All rights reserved. template<typename T> void fill(int size, T *data, T value) { for(int i=0; i != size; ++i) data[i] = value; } void setup_mask_unsaturated(int num_edges, char *mask, double *cf) { for(int i=0; i != num_edges; ++i) mask[i] = (cf[i] > 0); } void setu...
0
rapidsai_public_repos/code-share
rapidsai_public_repos/code-share/maxflow/README.md
# Maxflow This framework implements various maximum flow algorithms on GPU. ## Motivation Existing GPU graph libraries like Gunrock and nvGraph are both missing a few important graph primitives including the maximum flow, which is frequently used in network analysis, image segmentation, clustering, bipartite matchin...
0
rapidsai_public_repos/code-share
rapidsai_public_repos/code-share/maxflow/maxflow.cpp
// Copyright (c) 2016, NVIDIA CORPORATION. All rights reserved. /* LOG_LEVEL: 0: no output 1: one line result 2: print augmented path stats 3: print augmented path vertices 4: bfs level stats for each path */ #define _POSIX_C_SOURCE 199309L #include <stdio.h> #include <stdlib.h> #include ...
0
rapidsai_public_repos/code-share
rapidsai_public_repos/code-share/maxflow/graph_tools.h
// Copyright (c) 2016, NVIDIA CORPORATION. All rights reserved. #pragma once #include "allocator.h" #include <vector> #include <tuple> #include <algorithm> #include <numeric> using std::vector; using std::tuple; using std::tie; using std::get; using std::make_tuple; typedef tuple<int,double,double> idd; template...
0
rapidsai_public_repos/code-share
rapidsai_public_repos/code-share/maxflow/Makefile
CCXX = g++ NVCC = nvcc GPU_TARGETS= edmonds-karp-gpu-naive push-relabel-gpu-naive mpm-gpu-naive GPU_TARGETS_GUNROCK= edmonds-karp-gpu-gunrock push-relabel-gpu-gunrock CPU_TARGETS= edmonds-karp-cpu push-relabel-cpu boost-push-relabel TARGETS= $(GPU_TARGETS) $(GPU_TARGETS_GUNROCK) $(CPU_TARGETS) CXXFLAGS = -O3 -fno-op...
0
rapidsai_public_repos/code-share
rapidsai_public_repos/code-share/maxflow/utils.cu
#pragma once #define WARP_SIZE 32 #include "allocator.h" #include "matrix.h" #include "cub/cub/cub.cuh" #include <utility> #include <fstream> //TODO remove #define FORWARD 1 #define BACKWARD 0 #define N_MAX_BLOCKS 65534 #define WARP_SIZE 32 #include "config.h" using cub::KeyValuePair; typedef KeyValuePair<int,fl...
0
rapidsai_public_repos/code-share
rapidsai_public_repos/code-share/maxflow/graph_tools_gpu.cu
// Copyright (c) 2016, NVIDIA CORPORATION. All rights reserved. #include <stdio.h> #define N_BLOCKS_MAX 65535 #define N_THREADS 512 template<typename T> __global__ void fill_kernel(int size, T *data, T value) { int tid = threadIdx.x + blockIdx.x * blockDim.x; if (tid < size) data[tid] = value; } __global__ void ...
0
rapidsai_public_repos/code-share
rapidsai_public_repos/code-share/maxflow/matrix.h
// Copyright (c) 2016, NVIDIA CORPORATION. All rights reserved. #pragma once #define INF 1e10 #include <algorithm> #include "allocator.h" #include <fstream> #include "config.h" using std::min; struct csr_graph { int n, nnz; int *row_offsets; int *col_indices; flow_t *vals_cap; // capacity flow_t *vals_fl...
0
rapidsai_public_repos/code-share
rapidsai_public_repos/code-share/maxflow/allocator.h
// Copyright (c) 2016, NVIDIA CORPORATION. All rights reserved. #pragma once #include <stdlib.h> #include <stdio.h> static long tot_malloc_bytes = 0; #ifndef USE_GPU inline void* my_malloc(long size) { #if (LOG_LEVEL > 1) && (LOG_LEVEL < 4) tot_malloc_bytes += size; printf("Memory allocation footprint %.3f MB\n...
0
rapidsai_public_repos/code-share
rapidsai_public_repos/code-share/maxflow/LICENSE
Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 1. Definitions. "License" shall mean the terms and conditions for use, reproduction, ...
0
rapidsai_public_repos/code-share
rapidsai_public_repos/code-share/maxflow/matrix.cu
#include "matrix.h" //CUB histogram is too complex __global__ count_values(int *values, int *counts, int size) { for(int u = blockIdx.x * blockDim.x + threadIdx.x; u < size; u += blockDim.x * gridDim.x) atomicAdd(&counts[values[u]], 1); } __global__ set_idx_origin(int *row_offsets, int *col_indices, int *in_...
0
rapidsai_public_repos/code-share/maxflow
rapidsai_public_repos/code-share/maxflow/edmonds-karp/edmonds-karp.cpp
// Copyright (c) 2016, NVIDIA CORPORATION. All rights reserved. #include "../matrix.h" #include "../allocator.h" #include <stdio.h> #include "../graph_tools.h" #include "../bfs/bfs.h" #include <time.h> //Edmonds-karp implementation //TODO separate CPU and GPU implem ? double maxflowimplementation(csr_graph* g, int s...
0
rapidsai_public_repos/code-share/maxflow
rapidsai_public_repos/code-share/maxflow/IO/mtx2dimacs.cpp
#include "../matrix.h" #include "matrix_io.h" int main(int argc, char **argv) { if(argc < 3) { printf("Usage : %s <input> <output> \n", argv[0]); exit(1); } csr_graph g; // main graph structure // read mtx entry read_mm_matrix(argv[1], &g.n, &g.n, &g.nnz, &g.row_offsets, &g.col_indices, &g.vals_cap); //S...
0
rapidsai_public_repos/code-share/maxflow
rapidsai_public_repos/code-share/maxflow/IO/gr_reader.h
#include <fstream> #include <string> #include "../allocator.h" #include "../matrix.h" #include "../config.h" #include <cstdlib> #include <iostream> using std::string; using std::ifstream; using std::cout; void read_gr(const string& filename, csr_graph& g) { ifstream iff(filename); uint64_t header[4]; iff.read((c...
0
rapidsai_public_repos/code-share/maxflow
rapidsai_public_repos/code-share/maxflow/IO/matrix_io.h
#include <string.h> #include <map> using std::map; using std::pair; // Routines to read/write matrix. // Modified from http://crd-legacy.lbl.gov/~yunhe/cs267/final/source/utils/convert/matrix_io.c // Copyright (c) 2016, NVIDIA CORPORATION. All rights reserved. #define MM_MAX_LINE_LENGTH 1025 #define MatrixMarketBann...
0
rapidsai_public_repos/code-share/maxflow
rapidsai_public_repos/code-share/maxflow/MPM/MPM.cu
#include "MPM.h" #include "../bfs/bfs.h" //Implementations of MPM functions members #include "get_subgraph.cu" #include "push_pull.cu" #include "prune.cu" #include <time.h> #include <cuda_profiler_api.h> #include "nvToolsExt.h" #include "../config.h" #define GPUID 0 #define N_BLOCKS_MAX 65535 #define N_THREADS 51...
0
rapidsai_public_repos/code-share/maxflow
rapidsai_public_repos/code-share/maxflow/MPM/MPM_implem.cu
#include "MPM.h" #include "../matrix.h" double maxflowimplementation(csr_graph* g, int s, int t, float *elapsed_time) { MPM mpm(*g); return mpm.maxflow(s,t,elapsed_time); }
0
rapidsai_public_repos/code-share/maxflow
rapidsai_public_repos/code-share/maxflow/MPM/prune.cu
#include "MPM.h" #include "nvToolsExt.h" #include "../config.h" #define PRUNE_DIM_X 8 // //Prune : removing nodes will null throughput //First level is detected while executing push/pull // __device__ bool edge_op_prune(const int node_pruned, const int node_to_update, const int i_edge, char *prune_mask, ...
0
rapidsai_public_repos/code-share/maxflow
rapidsai_public_repos/code-share/maxflow/MPM/MPM_gpu_kernels.cu
#include <limits> #include <cfloat> //for cuda #include "../cub/cub/cub.cuh" #include "../allocator.h" #include <stdlib.h> //TODO just for debug (exit) #define THREADS_PER_VERTEX 32 #define N_BLOCK_THREADS 512 //number of threads in a block #define BLOCK_Y_SIZE (N_BLOCK_THREADS / THREADS_PER_VERTEX) //init edge even...
0
rapidsai_public_repos/code-share/maxflow
rapidsai_public_repos/code-share/maxflow/MPM/push_pull.cu
#include "../config.h" #include "nvToolsExt.h" // // Pull/Push flow from/to source // #define MOVE_FLOW_DIM_X 32 #define MOVE_FLOW_DIM_Y 1 __host__ __device__ int imin_to_node_to_push(int imin, int nsg) { imin += 1;; return (imin < nsg) ? imin : (imin - nsg); } template<typename F1, typename F2> __global__ void...
0
rapidsai_public_repos/code-share/maxflow
rapidsai_public_repos/code-share/maxflow/MPM/csr_graph_mpm.h
// Copyright (c) 2016, NVIDIA CORPORATION. All rights reserved. #pragma once #include "../matrix.h" //TODO inheritance nvgraph csr DS //csr graph using same edge idx than its parent struct csr_graph_mpm : public csr_graph_reverse { //nodes degree double *degree_in; double *degree_out; //Mask to know if an edg...
0
rapidsai_public_repos/code-share/maxflow
rapidsai_public_repos/code-share/maxflow/MPM/device_gppp.cu
//Meta operation //loop find node/push pull/prune in device mem #define RPPP_X 32 #define RPPP_Y 16 #define RPPP_NTHREADS (RPPP_X * RPPP_Y) __global__ void reduce_push_pull_prune(csr_graph g, csr_subgraph sg_in, csr_subgraph sg_out, int ht, int *s_t_pruned, double *degree_in, doubl...
0
rapidsai_public_repos/code-share/maxflow
rapidsai_public_repos/code-share/maxflow/MPM/get_node_to_push.cu
#include "MPM.h" #include "../utils.cu" void MPM::get_node_to_push() { //printf("height winner : %i \n", *h_h_node_to_push); } template<int BLOCK_DIM_X, int BLOCK_DIM_Y=1, int BLOCK_DIM_Z=1> __device__ void device_get_node_to_push(double *in_degree, double *out_degree, int n, int &node_to_push, d...
0
rapidsai_public_repos/code-share/maxflow
rapidsai_public_repos/code-share/maxflow/MPM/MPM.h
#pragma once #include "../matrix.h" #include <vector> #include "../cub/cub/cub.cuh" #include "../config.h" using std::vector; using cub::KeyValuePair; typedef KeyValuePair<int,flow_t> kvpid; struct post_prune_data { kvpid d_min; int prune_flag; //used to know if we're done with prune int s_t_pruned; }; class M...
0
rapidsai_public_repos/code-share/maxflow
rapidsai_public_repos/code-share/maxflow/MPM/get_subgraph.cu
#include "../cub/cub/cub.cuh" #include "../utils.cu" #include "../config.h" #include "nvToolsExt.h" #define INIT_G_BLOCK_X 32 #define WRITE_EDGES_DIM_X 32 #define NTHREADS 512 __global__ void reverse_hash(int *reversed, int *hash, int num_items) { for(int u = blockDim.x * blockIdx.x + threadIdx.x; u < num_items...
0
rapidsai_public_repos/code-share/maxflow
rapidsai_public_repos/code-share/maxflow/benchmarks/benchmark.py
#!/usr/bin/python import os import sys import subprocess import random import time import argparse #config #maxflow implementations implementations = [ "mpm-gpu-naive", "galois-preflowpush"] log_filename = "bench_log.csv" #end config #parsing args parser = argparse.ArgumentParser(description="Compute benchmarks of...
0
rapidsai_public_repos/code-share/maxflow
rapidsai_public_repos/code-share/maxflow/benchmarks/benchmarks_log.csv
1472508703.3, "264e4d2", "working commit : limit nblocks 65000, untested", edmonds-karp-cpu, data/roadNet-CA.mtx, 1, 10000, 0.670, 11472508703.3, "264e4d2", "working commit : limit nblocks 65000, untested", mpm-gpu-naive, data/roadNet-CA.mtx, 1, 10000, 0.503, 11472508703.3, "264e4d2", "working commit : limit nblocks 65...
0
rapidsai_public_repos/code-share/maxflow
rapidsai_public_repos/code-share/maxflow/benchmarks/benchmarks.cpp
#define _POSIX_C_SOURCE 199309L #include <stdio.h> #include <stdlib.h> #include <string.h> #include <ctype.h> #include <time.h> #include <assert.h> #include "../allocator.h" #include "../matrix_io.h" #include "../matrix.h" #include "../MPM/MPM.h" #include <sstream> #include "../boost-push-relabel/push-relabel.h" u...
0
rapidsai_public_repos/code-share/maxflow
rapidsai_public_repos/code-share/maxflow/bfs/bfs_gpu_naive.cu
// Copyright (c) 2016, NVIDIA CORPORATION. All rights reserved. #include <stdio.h> #include "../matrix.h" #include "bfs.h" #include "nvToolsExt.h" //Generic tools handling masks and fill #define THREADS_PER_VERTEX_BFS 4 #define N_BLOCKS_MAX 65535 template<typename T> __global__ void fill_kernel(int size, T *data...
0
rapidsai_public_repos/code-share/maxflow
rapidsai_public_repos/code-share/maxflow/bfs/bfs_gpu_gunrock.cu
// ---------------------------------------------------------------- // Gunrock -- Fast and Efficient GPU Graph Library // ---------------------------------------------------------------- // This source code is distributed under the terms of LICENSE.TXT // in the root directory of this source distribution. // ----------...
0
rapidsai_public_repos/code-share/maxflow
rapidsai_public_repos/code-share/maxflow/bfs/bfs_gunrock.cu
// ---------------------------------------------------------------- // Gunrock -- Fast and Efficient GPU Graph Library // ---------------------------------------------------------------- // This source code is distributed under the terms of LICENSE.TXT // in the root directory of this source distribution. // ----------...
0
rapidsai_public_repos/code-share/maxflow
rapidsai_public_repos/code-share/maxflow/bfs/bfs_cpu_omp.cpp
// Copyright (c) 2016, NVIDIA CORPORATION. All rights reserved. #include <stdio.h> #include <stdlib.h> #include <string.h> #include "../matrix.h" #include "bfs.h" //BFS CPU OMP implementation int bfs(int *row_offsets, int *col_indices, int num_nodes, int num_edges, int s, int t, int *q, int *output, int output_type, ...
0
rapidsai_public_repos/code-share/maxflow
rapidsai_public_repos/code-share/maxflow/bfs/bfs_cpu.cpp
// Copyright (c) 2016, NVIDIA CORPORATION. All rights reserved. #include <stdio.h> #include <stdlib.h> #include <string.h> #include "../allocator.h" #include "../matrix.h" #include "bfs.h" //BFS CPU implementation int bfs(int *row_offsets, int *col_indices, int num_nodes, int num_edges, int s, int t, int *q, int *out...
0
rapidsai_public_repos/code-share/maxflow
rapidsai_public_repos/code-share/maxflow/bfs/bfs.h
#pragma once #include <vector> using std::vector; //Output types #define BFS_MARK_PREDECESSOR 0 #define BFS_MARK_DEPTH 1 int bfs(int *row_offsets, int *col_indices, int num_nodes, int num_edges, int src_node, int dst_node, int *q, int *output, int output_type, char *col_mask, int *bfs_offsets);
0
rapidsai_public_repos/code-share/maxflow
rapidsai_public_repos/code-share/maxflow/galois/README
See online documentation at: http://iss.ices.utexas.edu/?p=projects/galois/doc/current/getting_started See build/readme.txt for build instructions
0
rapidsai_public_repos/code-share/maxflow
rapidsai_public_repos/code-share/maxflow/galois/CMakeLists.txt
cmake_minimum_required(VERSION 2.8.8) set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/Modules/") project(Galois) set(GALOIS_VERSION_MAJOR "2") set(GALOIS_VERSION_MINOR "2") set(GALOIS_VERSION_PATCH "1") set(GALOIS_VERSION ${GALOIS_VERSION_MAJOR}.${GALOIS_VERSION_MINOR}.${GALOIS_VERSION_PATCH}) set...
0
rapidsai_public_repos/code-share/maxflow
rapidsai_public_repos/code-share/maxflow/galois/Doxyfile.in
# Doxyfile 1.5.8 # This file describes the settings to be used by the documentation system # doxygen (www.doxygen.org) for a project # # All text after a hash (#) is considered a comment and will be ignored # The format is: # TAG = value [value, ...] # For lists items can also be appended using: # TAG += v...
0
rapidsai_public_repos/code-share/maxflow
rapidsai_public_repos/code-share/maxflow/galois/COPYRIGHT
Galois, a framework to exploit amorphous data-parallelism in irregular programs. Copyright (C) 2014, 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 PAR...
0
rapidsai_public_repos/code-share/maxflow/galois/include
rapidsai_public_repos/code-share/maxflow/galois/include/Galois/LigraExecutor.h
#ifndef GALOIS_LIGRAEXECUTOR_H #define GALOIS_LIGRAEXECUTOR_H #include "Galois/Galois.h" namespace Galois { //! Implementation of Ligra DSL in Galois namespace Ligra { namespace hidden { template<typename Graph,bool Forward> struct Transposer { typedef typename Graph::GraphNode GNode; typedef typename Graph::in_...
0
rapidsai_public_repos/code-share/maxflow/galois/include
rapidsai_public_repos/code-share/maxflow/galois/include/Galois/TwoLevelIterator.h
/** Two Level Iterator for Per-thread workList-*- 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 CONC...
0
rapidsai_public_repos/code-share/maxflow/galois/include
rapidsai_public_repos/code-share/maxflow/galois/include/Galois/Accumulator.h
/** Accumulator type -*- 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 A...
0
rapidsai_public_repos/code-share/maxflow/galois/include
rapidsai_public_repos/code-share/maxflow/galois/include/Galois/DomainSpecificExecutors.h
#ifndef GALOIS_DOMAINSPECIFICEXECUTORS_H #define GALOIS_DOMAINSPECIFICEXECUTORS_H #include "LigraExecutor.h" #include "GraphChiExecutor.h" #include "GraphLabExecutor.h" #include "LigraGraphChiExecutor.h" #endif
0
rapidsai_public_repos/code-share/maxflow/galois/include
rapidsai_public_repos/code-share/maxflow/galois/include/Galois/GraphChiExecutor.h
#ifndef GALOIS_GRAPHCHIEXECUTOR_H #define GALOIS_GRAPHCHIEXECUTOR_H #include "Galois/Graph/OCGraph.h" #include "Galois/Graph/GraphNodeBag.h" #include <boost/iterator/filter_iterator.hpp> #include <boost/utility.hpp> namespace Galois { //! Implementation of GraphChi DSL in Galois namespace GraphChi { namespace hidde...
0
rapidsai_public_repos/code-share/maxflow/galois/include
rapidsai_public_repos/code-share/maxflow/galois/include/Galois/Statistic.h
/** Statistic type -*- 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 AND...
0
rapidsai_public_repos/code-share/maxflow/galois/include
rapidsai_public_repos/code-share/maxflow/galois/include/Galois/Galois.h
/** Galois user interface -*- C++ -*- * @file * This is the only file to include for basic Galois functionality. * * @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. * UNIVERS...
0
rapidsai_public_repos/code-share/maxflow/galois/include
rapidsai_public_repos/code-share/maxflow/galois/include/Galois/SparseBitVector.h
// Galois Managed Conflict type wrapper -*- C++ -*- /* 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...
0
rapidsai_public_repos/code-share/maxflow/galois/include
rapidsai_public_repos/code-share/maxflow/galois/include/Galois/optional.h
/** Replacement for boost::optional -*- 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 THI...
0
rapidsai_public_repos/code-share/maxflow/galois/include
rapidsai_public_repos/code-share/maxflow/galois/include/Galois/LazyObject.h
/** Lazy and strict object types -*- 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 CONCERNING THIS ...
0
rapidsai_public_repos/code-share/maxflow/galois/include
rapidsai_public_repos/code-share/maxflow/galois/include/Galois/CheckedObject.h
/** Galois Managed Conflict type wrapper -*- 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 CONCERNIN...
0
rapidsai_public_repos/code-share/maxflow/galois/include
rapidsai_public_repos/code-share/maxflow/galois/include/Galois/Threads.h
/** Galois user interface -*- 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 CONCERNING THIS * SOFTW...
0
rapidsai_public_repos/code-share/maxflow/galois/include
rapidsai_public_repos/code-share/maxflow/galois/include/Galois/LigraGraphChiExecutor.h
#ifndef GALOIS_LIGRAGRAPHCHIEXECUTOR_H #define GALOIS_LIGRAGRAPHCHIEXECUTOR_H #include "LigraExecutor.h" #include "GraphChiExecutor.h" namespace Galois { //! Implementation of combination of Ligra and GraphChi DSL in Galois namespace LigraGraphChi { template<bool Forward,typename Graph,typename EdgeOperator,typename...
0
rapidsai_public_repos/code-share/maxflow/galois/include
rapidsai_public_repos/code-share/maxflow/galois/include/Galois/FlatMap.h
/** STL style map using sorted vectors -*- 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/include
rapidsai_public_repos/code-share/maxflow/galois/include/Galois/LargeArray.h
/** Large array types -*- 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 CONCERNING THIS * SOFTWARE ...
0
rapidsai_public_repos/code-share/maxflow/galois/include
rapidsai_public_repos/code-share/maxflow/galois/include/Galois/GraphLabExecutor.h
#ifndef GALOIS_GRAPHLABEXECUTOR_H #define GALOIS_GRAPHLABEXECUTOR_H #include "Galois/Bag.h" #include <boost/mpl/has_xxx.hpp> namespace Galois { //! Implementation of GraphLab v2/PowerGraph DSL in Galois namespace GraphLab { BOOST_MPL_HAS_XXX_TRAIT_DEF(tt_needs_gather_in_edges) template<typename T> struct needs_gath...
0
rapidsai_public_repos/code-share/maxflow/galois/include
rapidsai_public_repos/code-share/maxflow/galois/include/Galois/NoDerefIterator.h
/** Wrapper around an iterator such that *it == it -*- 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...
0
rapidsai_public_repos/code-share/maxflow/galois/include
rapidsai_public_repos/code-share/maxflow/galois/include/Galois/UnionFind.h
/** Union-find -*- C++ -*- * @file * * A minimum spanning tree algorithm to demonstrate the Galois system. * * @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 E...
0
rapidsai_public_repos/code-share/maxflow/galois/include
rapidsai_public_repos/code-share/maxflow/galois/include/Galois/Mem.h
/** User-visible allocators -*- 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 CONCERNING THIS * SOF...
0
rapidsai_public_repos/code-share/maxflow/galois/include
rapidsai_public_repos/code-share/maxflow/galois/include/Galois/LazyArray.h
/** Lazy Static Array -*- 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 ...
0
rapidsai_public_repos/code-share/maxflow/galois/include
rapidsai_public_repos/code-share/maxflow/galois/include/Galois/Endian.h
/** Endian utility functions -*- 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 CONCERNING THIS * SO...
0
rapidsai_public_repos/code-share/maxflow/galois/include
rapidsai_public_repos/code-share/maxflow/galois/include/Galois/MethodFlags.h
/** Galois Conflict flags -*- 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 CONCERNING THIS * SOFTW...
0
rapidsai_public_repos/code-share/maxflow/galois/include
rapidsai_public_repos/code-share/maxflow/galois/include/Galois/UserContext.h
/** User Facing loop api -*- 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/include
rapidsai_public_repos/code-share/maxflow/galois/include/Galois/gstl.h
/** Simple STL style algorithms -*- 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 CONCERNING THIS *...
0
rapidsai_public_repos/code-share/maxflow/galois/include
rapidsai_public_repos/code-share/maxflow/galois/include/Galois/OnlineStats.h
/** Online Stats -*- 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 AND D...
0
rapidsai_public_repos/code-share/maxflow/galois/include
rapidsai_public_repos/code-share/maxflow/galois/include/Galois/config.h.in
#ifndef CONFIG_H #define CONFIG_H #define GALOIS_VERSION_MAJOR @GALOIS_VERSION_MAJOR@ #define GALOIS_VERSION_MINOR @GALOIS_VERSION_MINOR@ #define GALOIS_VERSION_PATCH @GALOIS_VERSION_PATCH@ #define GALOIS_COPYRIGHT_YEAR_STRING "@GALOIS_COPYRIGHT_YEAR@" #define GALOIS_VERSION_STRING "@GALOIS_VERSION@" #cmakedefine HAVE...
0
rapidsai_public_repos/code-share/maxflow/galois/include
rapidsai_public_repos/code-share/maxflow/galois/include/Galois/TypeTraits.h
/** Galois type traits -*- 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...
0
rapidsai_public_repos/code-share/maxflow/galois/include
rapidsai_public_repos/code-share/maxflow/galois/include/Galois/Timer.h
/** Simple timer support -*- 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 * SOFTWA...
0
rapidsai_public_repos/code-share/maxflow/galois/include
rapidsai_public_repos/code-share/maxflow/galois/include/Galois/Atomic.h
/** Atomic Types type -*- 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 CONCERNING THIS * SOFTWARE ...
0
rapidsai_public_repos/code-share/maxflow/galois/include
rapidsai_public_repos/code-share/maxflow/galois/include/Galois/PriorityQueue.h
/** TODO -*- 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 DOCUMENTA...
0
rapidsai_public_repos/code-share/maxflow/galois/include
rapidsai_public_repos/code-share/maxflow/galois/include/Galois/Bag.h
/** Bags -*- 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 DOCUMENTA...
0
rapidsai_public_repos/code-share/maxflow/galois/include
rapidsai_public_repos/code-share/maxflow/galois/include/Galois/Version.h
/** Version -*- 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 CONCERNING THIS * SOFTWARE AND DOCUME...
0
rapidsai_public_repos/code-share/maxflow/galois/include
rapidsai_public_repos/code-share/maxflow/galois/include/Galois/gslist.h
/** Low-space overhead list -*- 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 CONCERNING THIS * SOF...
0
rapidsai_public_repos/code-share/maxflow/galois/include
rapidsai_public_repos/code-share/maxflow/galois/include/Galois/FixedSizeRing.h
/** Fixed-size ring buffer -*- 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 * SOFT...
0
rapidsai_public_repos/code-share/maxflow/galois/include
rapidsai_public_repos/code-share/maxflow/galois/include/Galois/gdeque.h
/** deque like structure with scalable allocator usage -*- 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 WARRAN...
0
rapidsai_public_repos/code-share/maxflow/galois/include
rapidsai_public_repos/code-share/maxflow/galois/include/Galois/TwoLevelIteratorA.h
/** Two Level Iterator-*- 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 ...
0
rapidsai_public_repos/code-share/maxflow/galois/include/Galois
rapidsai_public_repos/code-share/maxflow/galois/include/Galois/ParallelSTL/ParallelSTL.h
/** Parallel STL equivalents -*- C++ -*- * @file * This is the only file to include for basic Galois functionality. * * @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. * UNIV...
0
rapidsai_public_repos/code-share/maxflow/galois/include/Galois
rapidsai_public_repos/code-share/maxflow/galois/include/Galois/c++11-compat/atomic_internal_gcc_generic.h
namespace detail { template<class _Tp> bool atomic_compare_exchange_strong(volatile _Tp* __a, _Tp* __e, _Tp* __d, std::memory_order _succ, std::memory_order _fail) { static_assert(sizeof(_Tp) <= 8, "Operation undefined on larger types"); return __sync_bool_compare_and_swap(__a, *__e, *__d); } } // end detail tem...
0
rapidsai_public_repos/code-share/maxflow/galois/include/Galois
rapidsai_public_repos/code-share/maxflow/galois/include/Galois/c++11-compat/array.h
#ifndef GALOIS_C__11_COMPAT_ARRAY_H #define GALOIS_C__11_COMPAT_ARRAY_H #include <boost/tr1/array.hpp> namespace std { using namespace std::tr1; } #endif
0
rapidsai_public_repos/code-share/maxflow/galois/include/Galois
rapidsai_public_repos/code-share/maxflow/galois/include/Galois/c++11-compat/mutex.h
#ifndef GALOIS_C__11_COMPAT_MUTEX_H #define GALOIS_C__11_COMPAT_MUTEX_H namespace std { template<typename _Mutex> class lock_guard { public: typedef _Mutex mutex_type; explicit lock_guard(mutex_type& __m): _M_device(__m) { _M_device.lock(); } ~lock_guard() { _M_device.unlock(); } private: lock_guard(const loc...
0
rapidsai_public_repos/code-share/maxflow/galois/include/Galois
rapidsai_public_repos/code-share/maxflow/galois/include/Galois/c++11-compat/tuple.h
#ifndef GALOIS_C__11_COMPAT_TUPLE_H #define GALOIS_C__11_COMPAT_TUPLE_H #include <boost/tr1/tuple.hpp> namespace std { using namespace std::tr1; } #endif
0