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

tpetra cuda warning looks legit #5698

Closed
bathmatt opened this issue Aug 12, 2019 · 2 comments
Closed

tpetra cuda warning looks legit #5698

bathmatt opened this issue Aug 12, 2019 · 2 comments
Labels
impacting: configure or build The issue is primarily related to configuring or building pkg: Tpetra system: gpu

Comments

@bathmatt
Copy link
Contributor

Bug Report

@trilinos/tpetra

In tracking down some of these cuda issues in tpetra I'm seeing this warning which could be an error. Want to make sure it is not an issue

/ascldap/users/mbetten/vortex/build/gcc-cuda/Trilinos/packages/tpetra/core/src/Tpetra_Util.hpp(637): warning: calling a __host__ function from a __host__ __device__ function is not allowed
/ascldap/users/mbetten/vortex/build/gcc-cuda/Trilinos/packages/tpetra/core/src/Tpetra_Util.hpp(644): warning: calling a __host__ function from a __host__ __device__ function is not allowed
/ascldap/users/mbetten/vortex/build/gcc-cuda/Trilinos/packages/tpetra/core/src/Tpetra_Util.hpp(645): warning: calling a __host__ function from a __host__ __device__ function is not allowed
/ascldap/users/mbetten/vortex/build/gcc-cuda/Trilinos/packages/tpetra/core/src/Tpetra_Util.hpp(646): warning: calling a __host__ function from a __host__ __device__ function is not allowed
/ascldap/users/mbetten/vortex/build/gcc-cuda/Trilinos/packages/tpetra/core/src/Tpetra_Util.hpp(647): warning: calling a __host__ function from a __host__ __device__ function is not allowed
/ascldap/users/mbetten/vortex/build/gcc-cuda/Trilinos/packages/tpetra/core/src/Tpetra_Util.hpp(648): warning: calling a __host__ function from a __host__ __device__ function is not allowed
/ascldap/users/mbetten/vortex/build/gcc-cuda/Trilinos/packages/tpetra/core/src/Tpetra_Util.hpp(649): warning: calling a __host__ function from a __host__ __device__ function is not allowed
/ascldap/users/mbetten/vortex/build/gcc-cuda/Trilinos/packages/tpetra/core/src/Tpetra_Util.hpp(651): warning: calling a __host__ function from a __host__ __device__ function is not allowed
/ascldap/users/mbetten/vortex/build/gcc-cuda/Trilinos/packages/tpetra/core/src/Tpetra_Util.hpp(652): warning: calling a __host__ function from a __host__ __device__ function is not allowed
/ascldap/users/mbetten/vortex/build/gcc-cuda/Trilinos/packages/tpetra/core/src/Tpetra_Util.hpp(654): warning: calling a __host__ function from a __host__ __device__ function is not allowed
/ascldap/users/mbetten/vortex/build/gcc-cuda/Trilinos/packages/tpetra/core/src/Tpetra_Util.hpp(655): warning: calling a __host__ function from a __host__ __device__ function is not allowed
/ascldap/users/mbetten/vortex/build/gcc-cuda/Trilinos/packages/tpetra/core/src/Tpetra_Util.hpp(657): warning: calling a __host__ function from a __host__ __device__ function is not allowed
/ascldap/users/mbetten/vortex/build/gcc-cuda/Trilinos/packages/tpetra/core/src/Tpetra_Util.hpp(658): warning: calling a __host__ function from a __host__ __device__ function is not allowed

I'm seeing this on vortex

@bathmatt bathmatt added the type: bug The primary issue is a bug in Trilinos code or tests label Aug 12, 2019
@bathmatt
Copy link
Contributor Author

More of them

[mbetten@vortex60 build-gcc-cuda]$ grep warn out | sort | uniq |grep -v boost|grep -v deprecated |grep host |grep -i tpetra
/ascldap/users/mbetten/vortex/build/gcc-cuda/Trilinos/packages/kokkos/core/src/Cuda/Kokkos_Cuda_UniqueToken.hpp(88): warning: calling a __host__ function("std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string") from a __host__ __device__ function("Tpetra::CrsGraph<int, int,  ::Kokkos::Compat::KokkosDeviceWrapperNode< ::Kokkos::Cuda,  ::Kokkos::CudaUVMSpace> > ::CrsGraph") is not allowed
/ascldap/users/mbetten/vortex/build/gcc-cuda/Trilinos/packages/kokkos/core/src/Cuda/Kokkos_Cuda_UniqueToken.hpp(88): warning: calling a __host__ function("std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string") from a __host__ __device__ function("Tpetra::CrsGraph<int, long long,  ::Kokkos::Compat::KokkosDeviceWrapperNode< ::Kokkos::Cuda,  ::Kokkos::CudaUVMSpace> > ::CrsGraph") is not allowed
/ascldap/users/mbetten/vortex/build/gcc-cuda/Trilinos/packages/kokkos/core/src/Cuda/Kokkos_Cuda_UniqueToken.hpp(88): warning: calling a __host__ function("std::_Rb_tree<int,  ::std::pair<const int,  ::std::vector<int, std::allocator<int> > > ,  ::std::_Select1st< ::std::pair<const int,  ::std::vector<int, std::allocator<int> > > > ,  ::std::less<int> , std::allocator< ::std::pair<const int,  ::std::vector<int, std::allocator<int> > > > > ::~_Rb_tree") from a __host__ __device__ function("Tpetra::CrsGraph<int, int,  ::Kokkos::Compat::KokkosDeviceWrapperNode< ::Kokkos::Cuda,  ::Kokkos::CudaUVMSpace> > ::~CrsGraph [subobject]") is not allowed
/ascldap/users/mbetten/vortex/build/gcc-cuda/Trilinos/packages/kokkos/core/src/Cuda/Kokkos_Cuda_UniqueToken.hpp(88): warning: calling a __host__ function("std::_Rb_tree<int,  ::std::pair<const int,  ::std::vector<int, std::allocator<int> > > ,  ::std::_Select1st< ::std::pair<const int,  ::std::vector<int, std::allocator<int> > > > ,  ::std::less<int> , std::allocator< ::std::pair<const int,  ::std::vector<int, std::allocator<int> > > > > ::_Rb_tree") from a __host__ __device__ function("Tpetra::CrsGraph<int, int,  ::Kokkos::Compat::KokkosDeviceWrapperNode< ::Kokkos::Cuda,  ::Kokkos::CudaUVMSpace> > ::CrsGraph [subobject]") is not allowed
/ascldap/users/mbetten/vortex/build/gcc-cuda/Trilinos/packages/kokkos/core/src/Cuda/Kokkos_Cuda_UniqueToken.hpp(88): warning: calling a __host__ function("std::_Rb_tree<long long,  ::std::pair<const long long,  ::std::vector<long long, std::allocator<long long> > > ,  ::std::_Select1st< ::std::pair<const long long,  ::std::vector<long long, std::allocator<long long> > > > ,  ::std::less<long long> , std::allocator< ::std::pair<const long long,  ::std::vector<long long, std::allocator<long long> > > > > ::~_Rb_tree") from a __host__ __device__ function("Tpetra::CrsGraph<int, long long,  ::Kokkos::Compat::KokkosDeviceWrapperNode< ::Kokkos::Cuda,  ::Kokkos::CudaUVMSpace> > ::~CrsGraph [subobject]") is not allowed
/ascldap/users/mbetten/vortex/build/gcc-cuda/Trilinos/packages/kokkos/core/src/Cuda/Kokkos_Cuda_UniqueToken.hpp(88): warning: calling a __host__ function("std::_Rb_tree<long long,  ::std::pair<const long long,  ::std::vector<long long, std::allocator<long long> > > ,  ::std::_Select1st< ::std::pair<const long long,  ::std::vector<long long, std::allocator<long long> > > > ,  ::std::less<long long> , std::allocator< ::std::pair<const long long,  ::std::vector<long long, std::allocator<long long> > > > > ::_Rb_tree") from a __host__ __device__ function("Tpetra::CrsGraph<int, long long,  ::Kokkos::Compat::KokkosDeviceWrapperNode< ::Kokkos::Cuda,  ::Kokkos::CudaUVMSpace> > ::CrsGraph [subobject]") is not allowed
/ascldap/users/mbetten/vortex/build/gcc-cuda/Trilinos/packages/kokkos/core/src/Cuda/Kokkos_Cuda_UniqueToken.hpp(88): warning: calling a __host__ function("Teuchos::ArrayRCP< ::Teuchos::Array<int> > ::~ArrayRCP") from a __host__ __device__ function("Tpetra::CrsGraph<int, int,  ::Kokkos::Compat::KokkosDeviceWrapperNode< ::Kokkos::Cuda,  ::Kokkos::CudaUVMSpace> > ::~CrsGraph [subobject]") is not allowed
/ascldap/users/mbetten/vortex/build/gcc-cuda/Trilinos/packages/kokkos/core/src/Cuda/Kokkos_Cuda_UniqueToken.hpp(88): warning: calling a __host__ function("Teuchos::ArrayRCP< ::Teuchos::Array<int> > ::ArrayRCP") from a __host__ __device__ function("Tpetra::CrsGraph<int, int,  ::Kokkos::Compat::KokkosDeviceWrapperNode< ::Kokkos::Cuda,  ::Kokkos::CudaUVMSpace> > ::CrsGraph [subobject]") is not allowed
/ascldap/users/mbetten/vortex/build/gcc-cuda/Trilinos/packages/kokkos/core/src/Cuda/Kokkos_Cuda_UniqueToken.hpp(88): warning: calling a __host__ function("Teuchos::ArrayRCP< ::Teuchos::Array<int> > ::~ArrayRCP") from a __host__ __device__ function("Tpetra::CrsGraph<int, long long,  ::Kokkos::Compat::KokkosDeviceWrapperNode< ::Kokkos::Cuda,  ::Kokkos::CudaUVMSpace> > ::~CrsGraph [subobject]") is not allowed
/ascldap/users/mbetten/vortex/build/gcc-cuda/Trilinos/packages/kokkos/core/src/Cuda/Kokkos_Cuda_UniqueToken.hpp(88): warning: calling a __host__ function("Teuchos::ArrayRCP< ::Teuchos::Array<int> > ::ArrayRCP") from a __host__ __device__ function("Tpetra::CrsGraph<int, long long,  ::Kokkos::Compat::KokkosDeviceWrapperNode< ::Kokkos::Cuda,  ::Kokkos::CudaUVMSpace> > ::CrsGraph [subobject]") is not allowed
/ascldap/users/mbetten/vortex/build/gcc-cuda/Trilinos/packages/kokkos/core/src/Cuda/Kokkos_Cuda_UniqueToken.hpp(88): warning: calling a __host__ function("Teuchos::ArrayRCP< ::Teuchos::Array<long long> > ::~ArrayRCP") from a __host__ __device__ function("Tpetra::CrsGraph<int, long long,  ::Kokkos::Compat::KokkosDeviceWrapperNode< ::Kokkos::Cuda,  ::Kokkos::CudaUVMSpace> > ::~CrsGraph [subobject]") is not allowed
/ascldap/users/mbetten/vortex/build/gcc-cuda/Trilinos/packages/kokkos/core/src/Cuda/Kokkos_Cuda_UniqueToken.hpp(88): warning: calling a __host__ function("Teuchos::ArrayRCP< ::Teuchos::Array<long long> > ::ArrayRCP") from a __host__ __device__ function("Tpetra::CrsGraph<int, long long,  ::Kokkos::Compat::KokkosDeviceWrapperNode< ::Kokkos::Cuda,  ::Kokkos::CudaUVMSpace> > ::CrsGraph [subobject]") is not allowed
/ascldap/users/mbetten/vortex/build/gcc-cuda/Trilinos/packages/kokkos/core/src/Cuda/Kokkos_Cuda_UniqueToken.hpp(88): warning: calling a __host__ function("Teuchos::Describable::~Describable [subobject]") from a __host__ __device__ function("Tpetra::CrsGraph<int, int,  ::Kokkos::Compat::KokkosDeviceWrapperNode< ::Kokkos::Cuda,  ::Kokkos::CudaUVMSpace> > ::~CrsGraph [deleting]") is not allowed
/ascldap/users/mbetten/vortex/build/gcc-cuda/Trilinos/packages/kokkos/core/src/Cuda/Kokkos_Cuda_UniqueToken.hpp(88): warning: calling a __host__ function("Teuchos::Describable::~Describable [subobject]") from a __host__ __device__ function("Tpetra::CrsGraph<int, int,  ::Kokkos::Compat::KokkosDeviceWrapperNode< ::Kokkos::Cuda,  ::Kokkos::CudaUVMSpace> > ::~CrsGraph") is not allowed
/ascldap/users/mbetten/vortex/build/gcc-cuda/Trilinos/packages/kokkos/core/src/Cuda/Kokkos_Cuda_UniqueToken.hpp(88): warning: calling a __host__ function("Teuchos::Describable::~Describable [subobject]") from a __host__ __device__ function("Tpetra::CrsGraph<int, long long,  ::Kokkos::Compat::KokkosDeviceWrapperNode< ::Kokkos::Cuda,  ::Kokkos::CudaUVMSpace> > ::~CrsGraph [deleting]") is not allowed
/ascldap/users/mbetten/vortex/build/gcc-cuda/Trilinos/packages/kokkos/core/src/Cuda/Kokkos_Cuda_UniqueToken.hpp(88): warning: calling a __host__ function("Teuchos::Describable::~Describable [subobject]") from a __host__ __device__ function("Tpetra::CrsGraph<int, long long,  ::Kokkos::Compat::KokkosDeviceWrapperNode< ::Kokkos::Cuda,  ::Kokkos::CudaUVMSpace> > ::~CrsGraph") is not allowed
/ascldap/users/mbetten/vortex/build/gcc-cuda/Trilinos/packages/kokkos/core/src/Cuda/Kokkos_Cuda_UniqueToken.hpp(88): warning: calling a __host__ function("Teuchos::LabeledObject::~LabeledObject [subobject]") from a __host__ __device__ function("Tpetra::CrsGraph<int, int,  ::Kokkos::Compat::KokkosDeviceWrapperNode< ::Kokkos::Cuda,  ::Kokkos::CudaUVMSpace> > ::~CrsGraph [deleting]") is not allowed
/ascldap/users/mbetten/vortex/build/gcc-cuda/Trilinos/packages/kokkos/core/src/Cuda/Kokkos_Cuda_UniqueToken.hpp(88): warning: calling a __host__ function("Teuchos::LabeledObject::~LabeledObject [subobject]") from a __host__ __device__ function("Tpetra::CrsGraph<int, int,  ::Kokkos::Compat::KokkosDeviceWrapperNode< ::Kokkos::Cuda,  ::Kokkos::CudaUVMSpace> > ::~CrsGraph") is not allowed
/ascldap/users/mbetten/vortex/build/gcc-cuda/Trilinos/packages/kokkos/core/src/Cuda/Kokkos_Cuda_UniqueToken.hpp(88): warning: calling a __host__ function("Teuchos::LabeledObject::~LabeledObject [subobject]") from a __host__ __device__ function("Tpetra::CrsGraph<int, long long,  ::Kokkos::Compat::KokkosDeviceWrapperNode< ::Kokkos::Cuda,  ::Kokkos::CudaUVMSpace> > ::~CrsGraph [deleting]") is not allowed
/ascldap/users/mbetten/vortex/build/gcc-cuda/Trilinos/packages/kokkos/core/src/Cuda/Kokkos_Cuda_UniqueToken.hpp(88): warning: calling a __host__ function("Teuchos::LabeledObject::~LabeledObject [subobject]") from a __host__ __device__ function("Tpetra::CrsGraph<int, long long,  ::Kokkos::Compat::KokkosDeviceWrapperNode< ::Kokkos::Cuda,  ::Kokkos::CudaUVMSpace> > ::~CrsGraph") is not allowed
/ascldap/users/mbetten/vortex/build/gcc-cuda/Trilinos/packages/kokkos/core/src/Cuda/Kokkos_Cuda_UniqueToken.hpp(88): warning: calling a __host__ function("Teuchos::ParameterListAcceptor::~ParameterListAcceptor [subobject]") from a __host__ __device__ function("Tpetra::CrsGraph<int, int,  ::Kokkos::Compat::KokkosDeviceWrapperNode< ::Kokkos::Cuda,  ::Kokkos::CudaUVMSpace> > ::~CrsGraph [deleting]") is not allowed
/ascldap/users/mbetten/vortex/build/gcc-cuda/Trilinos/packages/kokkos/core/src/Cuda/Kokkos_Cuda_UniqueToken.hpp(88): warning: calling a __host__ function("Teuchos::ParameterListAcceptor::~ParameterListAcceptor [subobject]") from a __host__ __device__ function("Tpetra::CrsGraph<int, int,  ::Kokkos::Compat::KokkosDeviceWrapperNode< ::Kokkos::Cuda,  ::Kokkos::CudaUVMSpace> > ::~CrsGraph") is not allowed
/ascldap/users/mbetten/vortex/build/gcc-cuda/Trilinos/packages/kokkos/core/src/Cuda/Kokkos_Cuda_UniqueToken.hpp(88): warning: calling a __host__ function("Teuchos::ParameterListAcceptor::~ParameterListAcceptor [subobject]") from a __host__ __device__ function("Tpetra::CrsGraph<int, long long,  ::Kokkos::Compat::KokkosDeviceWrapperNode< ::Kokkos::Cuda,  ::Kokkos::CudaUVMSpace> > ::~CrsGraph [deleting]") is not allowed
/ascldap/users/mbetten/vortex/build/gcc-cuda/Trilinos/packages/kokkos/core/src/Cuda/Kokkos_Cuda_UniqueToken.hpp(88): warning: calling a __host__ function("Teuchos::ParameterListAcceptor::~ParameterListAcceptor [subobject]") from a __host__ __device__ function("Tpetra::CrsGraph<int, long long,  ::Kokkos::Compat::KokkosDeviceWrapperNode< ::Kokkos::Cuda,  ::Kokkos::CudaUVMSpace> > ::~CrsGraph") is not allowed
/ascldap/users/mbetten/vortex/build/gcc-cuda/Trilinos/packages/kokkos/core/src/Cuda/Kokkos_Cuda_UniqueToken.hpp(88): warning: calling a __host__ function("Teuchos::RCP<const  ::Tpetra::Export<int, int,  ::Kokkos::Compat::KokkosDeviceWrapperNode< ::Kokkos::Cuda,  ::Kokkos::CudaUVMSpace> > > ::~RCP") from a __host__ __device__ function("Tpetra::CrsGraph<int, int,  ::Kokkos::Compat::KokkosDeviceWrapperNode< ::Kokkos::Cuda,  ::Kokkos::CudaUVMSpace> > ::~CrsGraph [subobject]") is not allowed
/ascldap/users/mbetten/vortex/build/gcc-cuda/Trilinos/packages/kokkos/core/src/Cuda/Kokkos_Cuda_UniqueToken.hpp(88): warning: calling a __host__ function("Teuchos::RCP<const  ::Tpetra::Export<int, int,  ::Kokkos::Compat::KokkosDeviceWrapperNode< ::Kokkos::Cuda,  ::Kokkos::CudaUVMSpace> > > ::RCP") from a __host__ __device__ function("Tpetra::CrsGraph<int, int,  ::Kokkos::Compat::KokkosDeviceWrapperNode< ::Kokkos::Cuda,  ::Kokkos::CudaUVMSpace> > ::CrsGraph [subobject]") is not allowed
/ascldap/users/mbetten/vortex/build/gcc-cuda/Trilinos/packages/kokkos/core/src/Cuda/Kokkos_Cuda_UniqueToken.hpp(88): warning: calling a __host__ function("Teuchos::RCP<const  ::Tpetra::Export<int, long long,  ::Kokkos::Compat::KokkosDeviceWrapperNode< ::Kokkos::Cuda,  ::Kokkos::CudaUVMSpace> > > ::~RCP") from a __host__ __device__ function("Tpetra::CrsGraph<int, long long,  ::Kokkos::Compat::KokkosDeviceWrapperNode< ::Kokkos::Cuda,  ::Kokkos::CudaUVMSpace> > ::~CrsGraph [subobject]") is not allowed
/ascldap/users/mbetten/vortex/build/gcc-cuda/Trilinos/packages/kokkos/core/src/Cuda/Kokkos_Cuda_UniqueToken.hpp(88): warning: calling a __host__ function("Teuchos::RCP<const  ::Tpetra::Export<int, long long,  ::Kokkos::Compat::KokkosDeviceWrapperNode< ::Kokkos::Cuda,  ::Kokkos::CudaUVMSpace> > > ::RCP") from a __host__ __device__ function("Tpetra::CrsGraph<int, long long,  ::Kokkos::Compat::KokkosDeviceWrapperNode< ::Kokkos::Cuda,  ::Kokkos::CudaUVMSpace> > ::CrsGraph [subobject]") is not allowed
/ascldap/users/mbetten/vortex/build/gcc-cuda/Trilinos/packages/kokkos/core/src/Cuda/Kokkos_Cuda_UniqueToken.hpp(88): warning: calling a __host__ function("Teuchos::RCP<const  ::Tpetra::Import<int, int,  ::Kokkos::Compat::KokkosDeviceWrapperNode< ::Kokkos::Cuda,  ::Kokkos::CudaUVMSpace> > > ::~RCP") from a __host__ __device__ function("Tpetra::CrsGraph<int, int,  ::Kokkos::Compat::KokkosDeviceWrapperNode< ::Kokkos::Cuda,  ::Kokkos::CudaUVMSpace> > ::~CrsGraph [subobject]") is not allowed
/ascldap/users/mbetten/vortex/build/gcc-cuda/Trilinos/packages/kokkos/core/src/Cuda/Kokkos_Cuda_UniqueToken.hpp(88): warning: calling a __host__ function("Teuchos::RCP<const  ::Tpetra::Import<int, int,  ::Kokkos::Compat::KokkosDeviceWrapperNode< ::Kokkos::Cuda,  ::Kokkos::CudaUVMSpace> > > ::RCP") from a __host__ __device__ function("Tpetra::CrsGraph<int, int,  ::Kokkos::Compat::KokkosDeviceWrapperNode< ::Kokkos::Cuda,  ::Kokkos::CudaUVMSpace> > ::CrsGraph [subobject]") is not allowed
/ascldap/users/mbetten/vortex/build/gcc-cuda/Trilinos/packages/kokkos/core/src/Cuda/Kokkos_Cuda_UniqueToken.hpp(88): warning: calling a __host__ function("Teuchos::RCP<const  ::Tpetra::Import<int, long long,  ::Kokkos::Compat::KokkosDeviceWrapperNode< ::Kokkos::Cuda,  ::Kokkos::CudaUVMSpace> > > ::~RCP") from a __host__ __device__ function("Tpetra::CrsGraph<int, long long,  ::Kokkos::Compat::KokkosDeviceWrapperNode< ::Kokkos::Cuda,  ::Kokkos::CudaUVMSpace> > ::~CrsGraph [subobject]") is not allowed
/ascldap/users/mbetten/vortex/build/gcc-cuda/Trilinos/packages/kokkos/core/src/Cuda/Kokkos_Cuda_UniqueToken.hpp(88): warning: calling a __host__ function("Teuchos::RCP<const  ::Tpetra::Import<int, long long,  ::Kokkos::Compat::KokkosDeviceWrapperNode< ::Kokkos::Cuda,  ::Kokkos::CudaUVMSpace> > > ::RCP") from a __host__ __device__ function("Tpetra::CrsGraph<int, long long,  ::Kokkos::Compat::KokkosDeviceWrapperNode< ::Kokkos::Cuda,  ::Kokkos::CudaUVMSpace> > ::CrsGraph [subobject]") is not allowed
/ascldap/users/mbetten/vortex/build/gcc-cuda/Trilinos/packages/kokkos/core/src/Cuda/Kokkos_Cuda_UniqueToken.hpp(88): warning: calling a __host__ function("Teuchos::RCP<const  ::Tpetra::Map<int, int,  ::Kokkos::Compat::KokkosDeviceWrapperNode< ::Kokkos::Cuda,  ::Kokkos::CudaUVMSpace> > > ::~RCP") from a __host__ __device__ function("Tpetra::CrsGraph<int, int,  ::Kokkos::Compat::KokkosDeviceWrapperNode< ::Kokkos::Cuda,  ::Kokkos::CudaUVMSpace> > ::~CrsGraph [subobject]") is not allowed
/ascldap/users/mbetten/vortex/build/gcc-cuda/Trilinos/packages/kokkos/core/src/Cuda/Kokkos_Cuda_UniqueToken.hpp(88): warning: calling a __host__ function("Teuchos::RCP<const  ::Tpetra::Map<int, int,  ::Kokkos::Compat::KokkosDeviceWrapperNode< ::Kokkos::Cuda,  ::Kokkos::CudaUVMSpace> > > ::RCP") from a __host__ __device__ function("Tpetra::CrsGraph<int, int,  ::Kokkos::Compat::KokkosDeviceWrapperNode< ::Kokkos::Cuda,  ::Kokkos::CudaUVMSpace> > ::CrsGraph [subobject]") is not allowed
/ascldap/users/mbetten/vortex/build/gcc-cuda/Trilinos/packages/kokkos/core/src/Cuda/Kokkos_Cuda_UniqueToken.hpp(88): warning: calling a __host__ function("Teuchos::RCP<const  ::Tpetra::Map<int, long long,  ::Kokkos::Compat::KokkosDeviceWrapperNode< ::Kokkos::Cuda,  ::Kokkos::CudaUVMSpace> > > ::~RCP") from a __host__ __device__ function("Tpetra::CrsGraph<int, long long,  ::Kokkos::Compat::KokkosDeviceWrapperNode< ::Kokkos::Cuda,  ::Kokkos::CudaUVMSpace> > ::~CrsGraph [subobject]") is not allowed
/ascldap/users/mbetten/vortex/build/gcc-cuda/Trilinos/packages/kokkos/core/src/Cuda/Kokkos_Cuda_UniqueToken.hpp(88): warning: calling a __host__ function("Teuchos::RCP<const  ::Tpetra::Map<int, long long,  ::Kokkos::Compat::KokkosDeviceWrapperNode< ::Kokkos::Cuda,  ::Kokkos::CudaUVMSpace> > > ::RCP") from a __host__ __device__ function("Tpetra::CrsGraph<int, long long,  ::Kokkos::Compat::KokkosDeviceWrapperNode< ::Kokkos::Cuda,  ::Kokkos::CudaUVMSpace> > ::CrsGraph [subobject]") is not allowed
/ascldap/users/mbetten/vortex/build/gcc-cuda/Trilinos/packages/kokkos/core/src/Cuda/Kokkos_Cuda_UniqueToken.hpp(88): warning: calling a __host__ function("Teuchos::RCP< ::Teuchos::ParameterList> ::~RCP") from a __host__ __device__ function("Tpetra::CrsGraph<int, int,  ::Kokkos::Compat::KokkosDeviceWrapperNode< ::Kokkos::Cuda,  ::Kokkos::CudaUVMSpace> > ::~CrsGraph [subobject]") is not allowed
/ascldap/users/mbetten/vortex/build/gcc-cuda/Trilinos/packages/kokkos/core/src/Cuda/Kokkos_Cuda_UniqueToken.hpp(88): warning: calling a __host__ function("Teuchos::RCP< ::Teuchos::ParameterList> ::RCP") from a __host__ __device__ function("Tpetra::CrsGraph<int, int,  ::Kokkos::Compat::KokkosDeviceWrapperNode< ::Kokkos::Cuda,  ::Kokkos::CudaUVMSpace> > ::CrsGraph [subobject]") is not allowed
/ascldap/users/mbetten/vortex/build/gcc-cuda/Trilinos/packages/kokkos/core/src/Cuda/Kokkos_Cuda_UniqueToken.hpp(88): warning: calling a __host__ function("Teuchos::RCP< ::Teuchos::ParameterList> ::~RCP") from a __host__ __device__ function("Tpetra::CrsGraph<int, long long,  ::Kokkos::Compat::KokkosDeviceWrapperNode< ::Kokkos::Cuda,  ::Kokkos::CudaUVMSpace> > ::~CrsGraph [subobject]") is not allowed
/ascldap/users/mbetten/vortex/build/gcc-cuda/Trilinos/packages/kokkos/core/src/Cuda/Kokkos_Cuda_UniqueToken.hpp(88): warning: calling a __host__ function("Teuchos::RCP< ::Teuchos::ParameterList> ::RCP") from a __host__ __device__ function("Tpetra::CrsGraph<int, long long,  ::Kokkos::Compat::KokkosDeviceWrapperNode< ::Kokkos::Cuda,  ::Kokkos::CudaUVMSpace> > ::CrsGraph [subobject]") is not allowed
/ascldap/users/mbetten/vortex/build/gcc-cuda/Trilinos/packages/kokkos/core/src/Cuda/Kokkos_Cuda_UniqueToken.hpp(88): warning: calling a __host__ function("Tpetra::RowGraph<int, int,  ::Kokkos::Compat::KokkosDeviceWrapperNode< ::Kokkos::Cuda,  ::Kokkos::CudaUVMSpace> > ::~RowGraph [subobject]") from a __host__ __device__ function("Tpetra::CrsGraph<int, int,  ::Kokkos::Compat::KokkosDeviceWrapperNode< ::Kokkos::Cuda,  ::Kokkos::CudaUVMSpace> > ::~CrsGraph [subobject]") is not allowed
/ascldap/users/mbetten/vortex/build/gcc-cuda/Trilinos/packages/kokkos/core/src/Cuda/Kokkos_Cuda_UniqueToken.hpp(88): warning: calling a __host__ function("Tpetra::RowGraph<int, long long,  ::Kokkos::Compat::KokkosDeviceWrapperNode< ::Kokkos::Cuda,  ::Kokkos::CudaUVMSpace> > ::~RowGraph [subobject]") from a __host__ __device__ function("Tpetra::CrsGraph<int, long long,  ::Kokkos::Compat::KokkosDeviceWrapperNode< ::Kokkos::Cuda,  ::Kokkos::CudaUVMSpace> > ::~CrsGraph [subobject]") is not allowed
/ascldap/users/mbetten/vortex/build/gcc-cuda/Trilinos/packages/kokkos/core/src/Cuda/Kokkos_Cuda_UniqueToken.hpp(88): warning: calling a __host__ function("Tpetra::SrcDistObject::~SrcDistObject") from a __host__ __device__ function("Tpetra::CrsGraph<int, int,  ::Kokkos::Compat::KokkosDeviceWrapperNode< ::Kokkos::Cuda,  ::Kokkos::CudaUVMSpace> > ::~CrsGraph [deleting]") is not allowed
/ascldap/users/mbetten/vortex/build/gcc-cuda/Trilinos/packages/kokkos/core/src/Cuda/Kokkos_Cuda_UniqueToken.hpp(88): warning: calling a __host__ function("Tpetra::SrcDistObject::~SrcDistObject") from a __host__ __device__ function("Tpetra::CrsGraph<int, int,  ::Kokkos::Compat::KokkosDeviceWrapperNode< ::Kokkos::Cuda,  ::Kokkos::CudaUVMSpace> > ::~CrsGraph") is not allowed
/ascldap/users/mbetten/vortex/build/gcc-cuda/Trilinos/packages/kokkos/core/src/Cuda/Kokkos_Cuda_UniqueToken.hpp(88): warning: calling a __host__ function("Tpetra::SrcDistObject::~SrcDistObject") from a __host__ __device__ function("Tpetra::CrsGraph<int, long long,  ::Kokkos::Compat::KokkosDeviceWrapperNode< ::Kokkos::Cuda,  ::Kokkos::CudaUVMSpace> > ::~CrsGraph [deleting]") is not allowed
/ascldap/users/mbetten/vortex/build/gcc-cuda/Trilinos/packages/kokkos/core/src/Cuda/Kokkos_Cuda_UniqueToken.hpp(88): warning: calling a __host__ function("Tpetra::SrcDistObject::~SrcDistObject") from a __host__ __device__ function("Tpetra::CrsGraph<int, long long,  ::Kokkos::Compat::KokkosDeviceWrapperNode< ::Kokkos::Cuda,  ::Kokkos::CudaUVMSpace> > ::~CrsGraph") is not allowed
/ascldap/us

@mhoemmen mhoemmen added impacting: configure or build The issue is primarily related to configuring or building pkg: Tpetra system: gpu and removed type: bug The primary issue is a bug in Trilinos code or tests labels Aug 14, 2019
@jhux2
Copy link
Member

jhux2 commented Aug 14, 2019

@trilinos/kokkos

kddevin added a commit that referenced this issue Jan 16, 2020
This removes some warnings about calling host functions
from host device functions #5698; E.g.,
warning: calling a __host__ function("std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string") from a __host__ __device__ function("Tpetra::Details::LocalMap<int, long long,  ::Kokkos::Device< ::Kokkos::Serial,  ::Kokkos::HostSpace> > ::~LocalMap [subobject]") is not allowed
jmgate pushed a commit to tcad-charon/Trilinos that referenced this issue Jan 17, 2020
…s:develop' (d17489d).

* trilinos-develop:
  Tpetra: Missed ifdef guard
  zoltan2:  name change to prevent shadow warnings
  zoltan2:  Change logic for determining gno types to use in tests Simplified now that Trilinos builds only one gno_t
  Tpetra: More stacked timer fixes
  Tpetra: Fix overflow for TpetraCore_MatrixMatrix_UnitTests
  tpetra:  removed unused field from FixedHashTable This removes some warnings about calling host functions from host device functions trilinos#5698; E.g., warning: calling a __host__ function("std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string") from a __host__ __device__ function("Tpetra::Details::LocalMap<int, long long,  ::Kokkos::Device< ::Kokkos::Serial,  ::Kokkos::HostSpace> > ::~LocalMap [subobject]") is not allowed
jmgate pushed a commit to tcad-charon/Trilinos that referenced this issue Jan 18, 2020
…s:develop' (d17489d).

* trilinos-develop:
  SEACAS: go back to lib:fmt 6.0.0 until fix issue on vortex xl/cuda build
  Disable Teko_testdriver_tpetra_MPI_4 in all atdm 'waterman' builds (trilinos#6463)
  zoltan2:  add missing include file for non-ETI builds
  Tpetra: Missed ifdef guard
  zoltan2:  name change to prevent shadow warnings
  zoltan2:  Change logic for determining gno types to use in tests Simplified now that Trilinos builds only one gno_t
  Tpetra: More stacked timer fixes
  Tpetra: Fix overflow for TpetraCore_MatrixMatrix_UnitTests
  tpetra:  removed unused field from FixedHashTable This removes some warnings about calling host functions from host device functions trilinos#5698; E.g., warning: calling a __host__ function("std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string") from a __host__ __device__ function("Tpetra::Details::LocalMap<int, long long,  ::Kokkos::Device< ::Kokkos::Serial,  ::Kokkos::HostSpace> > ::~LocalMap [subobject]") is not allowed
  tpetra:  when looking at trilinos#6158, I saw that, when creating a Vector from a MultiVector, we created subviews for comm buffers, but did not store them. This commit stores them.  It also offsets the buffers by the vector j requested from the MultiVector.
jmgate pushed a commit to tcad-charon/Trilinos that referenced this issue Jan 19, 2020
…s:develop' (d17489d).

* trilinos-develop:
  SEACAS: go back to lib:fmt 6.0.0 until fix issue on vortex xl/cuda build
  Disable Teko_testdriver_tpetra_MPI_4 in all atdm 'waterman' builds (trilinos#6463)
  zoltan2:  add missing include file for non-ETI builds
  Tpetra: Missed ifdef guard
  zoltan2:  name change to prevent shadow warnings
  zoltan2:  Change logic for determining gno types to use in tests Simplified now that Trilinos builds only one gno_t
  Tpetra: More stacked timer fixes
  Tpetra: Fix overflow for TpetraCore_MatrixMatrix_UnitTests
  tpetra:  removed unused field from FixedHashTable This removes some warnings about calling host functions from host device functions trilinos#5698; E.g., warning: calling a __host__ function("std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string") from a __host__ __device__ function("Tpetra::Details::LocalMap<int, long long,  ::Kokkos::Device< ::Kokkos::Serial,  ::Kokkos::HostSpace> > ::~LocalMap [subobject]") is not allowed
  tpetra:  when looking at trilinos#6158, I saw that, when creating a Vector from a MultiVector, we created subviews for comm buffers, but did not store them. This commit stores them.  It also offsets the buffers by the vector j requested from the MultiVector.
jmgate pushed a commit to tcad-charon/Trilinos that referenced this issue Jan 20, 2020
…s:develop' (d17489d).

* trilinos-develop:
  tpetra:  In trilinos#6598, @mhoemmen recommended this change of offset
  SEACAS: go back to lib:fmt 6.0.0 until fix issue on vortex xl/cuda build
  Disable Teko_testdriver_tpetra_MPI_4 in all atdm 'waterman' builds (trilinos#6463)
  zoltan2:  add missing include file for non-ETI builds
  Tpetra: Missed ifdef guard
  zoltan2:  name change to prevent shadow warnings
  zoltan2:  Change logic for determining gno types to use in tests Simplified now that Trilinos builds only one gno_t
  Tpetra: More stacked timer fixes
  Tpetra: Fix overflow for TpetraCore_MatrixMatrix_UnitTests
  tpetra:  removed unused field from FixedHashTable This removes some warnings about calling host functions from host device functions trilinos#5698; E.g., warning: calling a __host__ function("std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string") from a __host__ __device__ function("Tpetra::Details::LocalMap<int, long long,  ::Kokkos::Device< ::Kokkos::Serial,  ::Kokkos::HostSpace> > ::~LocalMap [subobject]") is not allowed
  tpetra:  when looking at trilinos#6158, I saw that, when creating a Vector from a MultiVector, we created subviews for comm buffers, but did not store them. This commit stores them.  It also offsets the buffers by the vector j requested from the MultiVector.
jmgate pushed a commit to tcad-charon/Trilinos that referenced this issue Jan 21, 2020
…s:develop' (d17489d).

* trilinos-develop:
  tpetra:  In trilinos#6598, @mhoemmen recommended this change of offset
  Tpetra::CrsMatrix: Add Kokkos kernel labels; expose debug code
  Tpetra::CrsMatrix: Remove values2D_
  Tpetra::CrsGraph: Remove gblInds2D_
  Tpetra::CrsGraph: Remove lclInds2D_
  Tpetra::CrsMatrix: Remove unused method allocateValues2D
  Tpetra: Use verbosePrintCountThreshold in copyOffsets
  Tpetra::Details::Behavior: Add longRowMinNumEntries
  Tpetra::Details::Behavior: Factor out size_t reading
  SEACAS: go back to lib:fmt 6.0.0 until fix issue on vortex xl/cuda build
  Disable Teko_testdriver_tpetra_MPI_4 in all atdm 'waterman' builds (trilinos#6463)
  zoltan2:  add missing include file for non-ETI builds
  Tpetra: Missed ifdef guard
  zoltan2:  name change to prevent shadow warnings
  zoltan2:  Change logic for determining gno types to use in tests Simplified now that Trilinos builds only one gno_t
  Tpetra: More stacked timer fixes
  Tpetra: Fix overflow for TpetraCore_MatrixMatrix_UnitTests
  tpetra:  removed unused field from FixedHashTable This removes some warnings about calling host functions from host device functions trilinos#5698; E.g., warning: calling a __host__ function("std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string") from a __host__ __device__ function("Tpetra::Details::LocalMap<int, long long,  ::Kokkos::Device< ::Kokkos::Serial,  ::Kokkos::HostSpace> > ::~LocalMap [subobject]") is not allowed
  Framework: updating the autotester env to remove dependency on atdm-env
  tpetra:  when looking at trilinos#6158, I saw that, when creating a Vector from a MultiVector, we created subviews for comm buffers, but did not store them. This commit stores them.  It also offsets the buffers by the vector j requested from the MultiVector.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
impacting: configure or build The issue is primarily related to configuring or building pkg: Tpetra system: gpu
Projects
None yet
Development

No branches or pull requests

4 participants