Skip to content

Virtual function does not compile with Kokkos 4.5.1 #120

@diehlpk

Description

@diehlpk
-- kokkos_launch_compiler is enabled globally. C++ compiler commands with -DKOKKOS_DEPENDENCE will be redirected to the appropriate compiler for Kokkos
-- Found Kokkos: /home/diehlpk/opt/kokkos-grace/lib64/cmake/Kokkos (version "4.5.1")
-- Configuring done (2.5s)
-- Generating done (0.1s)
CMake Warning:
  Manually-specified variables were not used by the project:

    KokkosKernels_ROOT


-- Build files have been written to: /vast/home/diehlpk/git/kokkos-tutorials/build/Exercises/virtualfunction/Solution
[ 33%] Building CXX object CMakeFiles/virtual_function.dir/virtual_function.cpp.o
ptxas fatal   : Unresolved extern function '_ZN5Foo_1C1Ev'
gmake[2]: *** [CMakeFiles/virtual_function.dir/build.make:76: CMakeFiles/virtual_function.dir/virtual_function.cpp.o] Error 255
gmake[1]: *** [CMakeFiles/Makefile2:83: CMakeFiles/virtual_function.dir/all] Error 2
gmake: *** [Makefile:91: all] Error 2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions