Giter VIP home page Giter VIP logo

jcusparse's Issues

Support host pointers for cusparseSnnz

The method cusparseSnnz for computing the number of nonzero elements expects some pointers to write the output to. The last one should either be a host pointer or a device pointer (depending on the CUSPARSE pointer mode).

Right now, only device pointers are accepted there.

This should be fixed so that the method also accepts a host pointer.

cusparseSpMM_bufferSize() segfaults

Hi!

I did not fully get behind this one yet, but using JCusparse.cusparseSpMM_bufferSize(...) seems to segfault when releasing JNI resources. Could be me doing something wrong, but when I step through JNICALL Java_jcuda_jcusparse_JCusparse_cusparseSpMM_1bufferSizeNative(...) [1] the return value of the CUDA API call cusparseSpMM_bufferSize(...) returns "success". A few lines down that function the error is thrown when releasing pointers. I handle the call to that function the same way as I do with other CuBLAS and CuSparse functions, so I don't really see the problem (yet). I thought I'd open an issue just in case somebody has the same problem or has any clue.

Regards, Mark

[1] jcusparse/JCusparseJNI/src/JCusparse.cpp:39093

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.