kokkos / kokkos-kernels

Kokkos C++ Performance Portability Programming Ecosystem: Math Kernels - Provides BLAS, Sparse BLAS and Graph Kernels
Other
311 stars 98 forks source link

Not clear how to build outer product spgemm #109

Closed ajain324 closed 7 years ago

ajain324 commented 7 years ago

It is not clear how to build the spgemm kernel using the outer multi memory option. The "src/sparse/impl/KokkosSparse_spgemm_impl.hpp" has an "ifdef KOKKOSKERNELS_HAVE_OUTER" snippet for compiling the multi-memory outer matrix spgemm code (The implementation files also have the same ifdef without which using this algorithm results in an exception). However I could not find where this macro is defined. It seems that I am missing something. Can you please suggest how I can compile the outer multi memory spgemm code or where I should define the macro so that an extension to the unit tests using the outer multimem spgemm works?

mndevec commented 7 years ago

@ajain324

That is an experimental research code that I am working on, and not supporting it publicly. That is why the compilation is not enabled, and probably break if you simply add the flags.

Why are you specifically interested in this method?