Code Monkey home page Code Monkey logo

gbtl's Issues

supporting a pseudo-zero construct on cusp

cuspbackend::matrix constructor is slightly different from that of sequential::matrix (and frontend::matrix, for that matter) in terms of how zeroes are treated. need to fix this.

however, if the only time a structural zero is used is at negation, and negate needs to take a semiring to get its ones and zeroes, there is really no point in storing a separate zero at the matrix level, eh?

bfs-do is slow

There are numerous performance issues that need to be addressed when time allows.

masked mxm support

need to support masked mxm either natively or adding a stage of post-processing.

solved in PR #35

new API naming convention (from gitlab)

After the GraphBLAS API call of 2 October we have new more explicit C++ naming standards:
The namespace: GraphBLAS API operations: will be 'camelCase' except for matrix multiplies as follows: buildMatrix, mXm, extractTuples
In addition an mxm_demo.cpp must be written (adapt mxm_test.cpp) and use the specific values from the homework assignment.
This will need to committed to the API bitbucket repo.

support for negation

At the current stage, we cannot support the negate operation without materializing the negated matrix in the cusp backend.

Need to discuss how to implement a negation mask on the GPU (searches through a COO matrix?), which probably will involve making our own matrix implementation at some point.

Errors running tests after building

I am running into problems running tests for the GPU implementation of GBTL. I am thinking the issue is with the cusplibrary version I'm using not matching up with the cusplibrary you used. Could you let me know which version you used?

My system environment is:

CUDA: 10.0
nvcc: 10.0
GBTL: 1.0.0 branch
cusplibrary: develop branch (commit dc77579)

I built using make and ran the tests using run_tests.sh on two GPUs (Tesla V and K40c). The output for both looks like:

*** No errors detected
terminate called after throwing an instance of 'std::bad_alloc'
  what():  std::bad_alloc
./run_tests.sh: line 1: 30328 Aborted                 (core dumped) ./$test

*** No errors detected
terminate called after throwing an instance of 'thrust::system::system_error'
  what():  device free failed: an illegal memory access was encountered
terminate called recursively

*** 2 failures detected in test suite "mst_suite"

*** No errors detected

*** 16 failures detected in test suite "bfs_suite"

*** No errors detected

*** No errors detected

*** 12 failures detected in test suite "sssp_suite"

*** No errors detected

*** No errors detected

*** No errors detected

*** 2 failures detected in test suite "maxflow_suite"

*** No errors detected

*** No errors detected

*** No errors detected

Full error log: https://gist.github.com/ctcyang/09cffca92d64bd3c9bc63300c9122f5f

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.