search for: __host__

Displaying 2 results from an estimated 2 matches for "__host__".

2018 Mar 23
2
cuda cross compiling issue for target aarch64-linux-androideabi
...unctions.hpp:3477:19: error: no matching function for call to '__isinf' if (a == 0.0 || __isinf(a)) { ^~~~~~~ ../cuda/targets/aarch64-linux-androideabi/include/math_functions_dbl_ptx3.hpp:165:38: note: candidate function not viable: call to __device__ function from __host__ function __MATH_FUNCTIONS_DBL_PTX3_DECL__ int __isinf(double a) __THROW ^ In file included from <built-in>:1: In file included from ../prebuilts/clang/host/linux-x86/clang-4667116/lib64/clang/7.0.1/include/__clang_cuda_runtime_wrapper.h:219: ../cuda/target...
2018 Mar 23
0
cuda cross compiling issue for target aarch64-linux-androideabi
...or: no matching function for call to '__isinf' > if (a == 0.0 || __isinf(a)) { > ^~~~~~~ > ../cuda/targets/aarch64-linux-androideabi/include/math_functions_dbl_ptx3.hpp:165:38: > note: candidate function not viable: call to __device__ function > from __host__ function > __MATH_FUNCTIONS_DBL_PTX3_DECL__ int __isinf(double a) __THROW > ^ > In file included from <built-in>:1: > In file included from > ../prebuilts/clang/host/linux-x86/clang-4667116/lib64/clang/7.0.1/include/__clang_cuda_runtime_wrap...