Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

spgemm unit test: update cusparse macro check #294

Merged
merged 2 commits into from
Sep 28, 2018

Conversation

ndellingwood
Copy link
Contributor

Similar fix as in PR #290 for MKL

@ndellingwood
Copy link
Contributor Author

@kyungjoo-kim @srajama1
Additional macro fix in the spgemm unit test, also in patch to trilinos with PR trilinos/Trilinos#3442.

@@ -301,7 +301,7 @@ void test_spgemm(lno_t numRows, size_type nnz, lno_t bandwidth, lno_t row_size_v
case SPGEMM_CUSPARSE:
//TODO: add these test failure cases for cusparse too.
algo = "SPGEMM_CUSPARSE";
#ifndef KERNELS_HAVE_CUSPARSE
#if !defined(KERNELS_HAVE_CUSPARSE) && !defined(KOKKOSKERNELS_ENABLE_TPL_CUSPARSE)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did we check this modification pass the test in kokkoskernels with cusparse enabled ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not yet, trying to get the Trilinos build on White going.
Are there extra settings to use cusparse like with mkl? For example, adding an extra cxxflag, setting an a path variable, etc? I haven't built kokkos-kernels with cusparse before

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am not sure. One problematic thing is that "cmake configure" may not match to "make configure". We have two build systems and cmake configure is not tested nor updated in the kokkoskernels level. cusparse or cublas should be ON by default when you test on cuda machines; however, it is possible that some macro variables may not set correctly. Let's wait until your test on white is done.

Pattern match trilinos/Trilinos#3458 to disable test until issues
resolved.
@srajama1
Copy link
Contributor

Please revert after the original issue is fixed.

@ndellingwood
Copy link
Contributor Author

Related to issue #296

@ndellingwood ndellingwood merged commit 2f8fd04 into kokkos:develop Sep 28, 2018
@ndellingwood ndellingwood deleted the cusparse-test-patch branch June 5, 2020 19:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants