-
Notifications
You must be signed in to change notification settings - Fork 99
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
Kokkoskernels sparse failures #218
Kokkoskernels sparse failures #218
Conversation
Uhoh this shouldnt have happened if you dont turn disabled code off. We need to track this down and fix it on the Kokkos side. That said it is correct to remove the deprecated kokkos_have stuff from kokkos kernels |
white: with cuda
|
@crtrott : it may be something I am doing wrong, but it looks like KOKKOS_HAVE_PTHREAD is not set anymore. #include "Kokkos_Core.hpp"
#include "stdio.h"
int main() {
#ifdef KOKKOS_HAVE_PTHREAD
printf("KOKKOS_HAVE_PTHREAD\n")
#endif
#ifdef KOKKOS_ENABLE_THREADS
printf("KOKKOS_ENABLE_THREADS\n");
#endif
};
this prints only "KOKKOS_ENABLE_THREADS" |
Content of KokkosCore_config.h /* ---------------------------------------------
Makefile constructed configuration:
Mon Apr 23 17:27:13 MDT 2018
----------------------------------------------*/
#if !defined(KOKKOS_MACROS_HPP) || defined(KOKKOS_CORE_CONFIG_H)
#error "Do not include KokkosCore_config.h directly; include Kokkos_Macros.hpp instead."
#else
#define KOKKOS_CORE_CONFIG_H
#endif
/* Execution Spaces */
#define KOKKOS_ENABLE_THREADS
#ifndef __CUDA_ARCH__
#define KOKKOS_USE_ISA_X86_64
#endif
/* General Settings */
#define KOKKOS_ENABLE_CXX11
#define KOKKOS_ENABLE_PROFILING
#define KOKKOS_ENABLE_DEPRECATED_CODE
/* Optimization Settings */
/* Cuda Settings */
#define KOKKOS_ARCH_AVX2
|
@@ -620,6 +620,7 @@ class GraphColoringHandle | |||
this->eb_num_initial_colors = 1; | |||
break; | |||
default: | |||
std::cout << "col_algo:" << col_algo << std::endl; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mndevec Is this debugging output or intentional?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ops :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I pushed to delete this.
KOKKOS_HAVE_PTHREADS flag seems to be removed from kokkos. All KOKKOS_HAVE_ flags are changed to KOKKOS_ENABLE in this commit.
On Shepard the test that was previously failing:
I am testing on white and will post the results here.