Skip to content

a warning: calling a host function from a device function is not allowed #14

@chunhualiao

Description

@chunhualiao

Not sure if this matters. Just report to you just in case:

full command line leading the warning message:

/usr/tce/packages/cmake/cmake-3.12.1/bin/cmake -E remove /g/g17/username/workspace-wsa/tempdir/lulesh/RAJAProxies.git/buildCuda/lulesh-v2.0/RAJA/CMakeFiles/lulesh-v2.0-RAJA-omp.exe.dir//lulesh-v2.0-RAJA-omp.exe_generated_lulesh.cpp.o.depend.tmp /g/g17/username/workspace-wsa/tempdir/lulesh/RAJAProxies.git/buildCuda/lulesh-v2.0/RAJA/CMakeFiles/lulesh-v2.0-RAJA-omp.exe.dir//lulesh-v2.0-RAJA-omp.exe_generated_lulesh.cpp.o.NVCC-depend
-- Generating /g/g17/username/workspace-wsa/tempdir/lulesh/RAJAProxies.git/buildCuda/lulesh-v2.0/RAJA/CMakeFiles/lulesh-v2.0-RAJA-omp.exe.dir//./lulesh-v2.0-RAJA-omp.exe_generated_lulesh.cpp.o
/usr/tce/packages/cuda/cuda-9.2.148/bin/nvcc /g/g17/username/workspace-wsa/tempdir/lulesh/RAJAProxies.git/lulesh-v2.0/RAJA/lulesh.cpp -x=cu -c -o /g/g17/username/workspace-wsa/tempdir/lulesh/RAJAProxies.git/buildCuda/lulesh-v2.0/RAJA/CMakeFiles/lulesh-v2.0-RAJA-omp.exe.dir//./lulesh-v2.0-RAJA-omp.exe_generated_lulesh.cpp.o -m64 -DUSE_OPENMP -DUSE_CUDA -DUSE_MPI=0 -DLULESH_DEVICE= -Xcompiler -fopenmp -restrict -arch sm_35 -std c++11 --expt-extended-lambda -ccbin /usr/tcetmp/bin/c++ -DNVCC -I/usr/tce/packages/cuda/cuda-9.2.148/include -I/g/g17/username/workspace-wsa/tempdir/lulesh/RAJAProxies.git/tpl/RAJA/include -I/g/g17/username/workspace-wsa/tempdir/lulesh/RAJAProxies.git/buildCuda/tpl/RAJA/include -I/g/g17/username/workspace-wsa/tempdir/lulesh/RAJAProxies.git/tpl/RAJA/tpl/cub
/g/g17/username/workspace-wsa/tempdir/lulesh/RAJAProxies.git/tpl/RAJA/tpl/cub/cub/device/dispatch/../../agent/../util_device.cuh(110): warning: calling a host function("RAJA::detail::ReduceOMP<double, ::RAJA::reduce::min > ::~ReduceOMP") from a host device function("") is not allowed

RAJAProxies.git/tpl/RAJA/include/RAJA/pattern/detail/reduce.hpp(194): warning: calling a host function("RAJA::detail::ReduceOMP<double, ::RAJA::reduce::sum > ::~ReduceOMP") from a host device function("RAJA::reduce::detail::BaseReduce<double, ::RAJA::reduce::sum, ::RAJA::detail::ReduceOMP> ::~BaseReduce") is not allowed

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