[Trilinos-Users] Kokkos with CUDA compilation error

Romain Veltz romain.veltz at inria.fr
Fri Aug 28 05:33:36 EDT 2015


Dear Trilinos Users,

I am unable to compile Trilinos ( Kokkos)  with CUDA support and I get the following error. I am wondering if anybody had the same issue.

Specs : Fedora 21, X86_64 , CUDA 7.0 gcc 4.9.2

Thank you a lot for your help,

Bests,

Romain

*****************************************************
[  6%] Built target PyTrilinos_testEpetra_IntSerialDense
In file included from /workspaces/kmedatha/trilinos-12.2.1-Source/packages/kokkos/core/src/Kokkos_CudaSpace.hpp:60:0,
                 from /workspaces/kmedatha/trilinos-12.2.1-Source/packages/kokkos/core/src/Kokkos_Cuda.hpp:56,
                 from /workspaces/kmedatha/trilinos-12.2.1-Source/packages/kokkos/core/src/Kokkos_Core.hpp:53,
                 from /workspaces/kmedatha/trilinos-12.2.1-Source/packages/kokkos/core/src/impl/Kokkos_Core.cpp:44:
/workspaces/kmedatha/trilinos-12.2.1-Source/packages/kokkos/core/src/Cuda/Kokkos_Cuda_BasicAllocators.hpp:82:22: error: ‘cudaChannelFormatDesc’ has not been declared
                    , cudaChannelFormatDesc const & desc
                      ^


In file included from /workspaces/kmedatha/trilinos-12.2.1-Source/packages/kokkos/core/src/Kokkos_Core.hpp:53:0,
                 from /workspaces/kmedatha/trilinos-12.2.1-Source/packages/kokkos/core/src/impl/Kokkos_Core.cpp:44:
/workspaces/kmedatha/trilinos-12.2.1-Source/packages/kokkos/core/src/Kokkos_Cuda.hpp:206:3: error: ‘cudaStream_t’ does not name a type
   cudaStream_t cuda_stream() const { return m_stream ; }
   ^
/workspaces/kmedatha/trilinos-12.2.1-Source/packages/kokkos/core/src/Kokkos_Cuda.hpp:214:3: error: ‘cudaStream_t’ does not name a type
   cudaStream_t m_stream ;
   ^
***************************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://trilinos.org/pipermail/trilinos-users/attachments/20150828/4b8ab2ad/attachment.html>


More information about the Trilinos-Users mailing list