search for: math_functions

Displaying 13 results from an estimated 13 matches for "math_functions".

2018 Mar 23
2
cuda cross compiling issue for target aarch64-linux-androideabi
...s issue when cross compiling cuda on Nvidia TX2 running android. The error is 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/targets/aarch64-linux-androideabi/include/math_functions.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__...
2018 Mar 23
0
cuda cross compiling issue for target aarch64-linux-androideabi
...cuda on Nvidia TX2 running android. > > The error is > 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/targets/aarch64-linux-androideabi/include/math_functions.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__ fun...
2012 Sep 06
1
[LLVMdev] [NVPTX] powf intrinsic in unimplemented
...; [ID=18] As I understand LLVM tries to lower the following call %28 = call ptx_device float @llvm.powi.f32(float 2.000000e+00, i32 %8) nounwind readonly to device intrinsic. The table llvm/IntrinsicsNVVM.td does not contain such intrinsic, however it should be builtin, according to cuda/include/math_functions.h Is my understanding correct, and we need simply add the corresponding definition to llvm/IntrinsicsNVVM.td ? How to do that, what are the rules? Thanks, - D.
2013 Feb 07
5
[LLVMdev] [NVPTX] We need an LLVM CUDA math library, after all
...call >> >> %28 = call ptx_device float @llvm.powi.f32(float 2.000000e+00, i32 %8) >> nounwind readonly >> >> to device intrinsic. The table llvm/IntrinsicsNVVM.td does not contain >> such intrinsic, however it should be builtin, according to >> cuda/include/math_functions.h > > > It actually gets lowered into an external function call. > > >> >> Is my understanding correct, and we need simply add the corresponding >> definition to llvm/IntrinsicsNVVM.td ? How to do that, what are the >> rules? > > > PTX does not have a...
2013 Feb 09
0
[LLVMdev] [NVPTX] We need an LLVM CUDA math library, after all
...8 = call ptx_device float @llvm.powi.f32(float 2.000000e+00, i32 %8) > >> nounwind readonly > >> > >> to device intrinsic. The table llvm/IntrinsicsNVVM.td does not contain > >> such intrinsic, however it should be builtin, according to > >> cuda/include/math_functions.h > > > > > > It actually gets lowered into an external function call. > > > > > >> > >> Is my understanding correct, and we need simply add the corresponding > >> definition to llvm/IntrinsicsNVVM.td ? How to do that, what are the > >&...
2013 Feb 08
0
[LLVMdev] [NVPTX] We need an LLVM CUDA math library, after all
...call >> >> %28 = call ptx_device float @llvm.powi.f32(float 2.000000e+00, i32 %8) >> nounwind readonly >> >> to device intrinsic. The table llvm/IntrinsicsNVVM.td does not contain >> such intrinsic, however it should be builtin, according to >> cuda/include/math_functions.h > > > It actually gets lowered into an external function call. > > >> >> Is my understanding correct, and we need simply add the corresponding >> definition to llvm/IntrinsicsNVVM.td ? How to do that, what are the >> rules? > > > PTX does not have a...
2013 Feb 17
2
[LLVMdev] [NVPTX] We need an LLVM CUDA math library, after all
...8 = call ptx_device float @llvm.powi.f32(float 2.000000e+00, i32 %8) > >> nounwind readonly > >> > >> to device intrinsic. The table llvm/IntrinsicsNVVM.td does not contain > >> such intrinsic, however it should be builtin, according to > >> cuda/include/math_functions.h > > > > > > It actually gets lowered into an external function call. > > > > > >> > >> Is my understanding correct, and we need simply add the corresponding > >> definition to llvm/IntrinsicsNVVM.td ? How to do that, what are the > >&...
2013 Feb 17
0
[LLVMdev] [NVPTX] We need an LLVM CUDA math library, after all
...float @llvm.powi.f32(float 2.000000e+00, i32 %8) >> >> nounwind readonly >> >> >> >> to device intrinsic. The table llvm/IntrinsicsNVVM.td does not contain >> >> such intrinsic, however it should be builtin, according to >> >> cuda/include/math_functions.h >> > >> > >> > It actually gets lowered into an external function call. >> > >> > >> >> >> >> Is my understanding correct, and we need simply add the corresponding >> >> definition to llvm/IntrinsicsNVVM.td ? How to...
2013 Feb 17
2
[LLVMdev] [NVPTX] We need an LLVM CUDA math library, after all
...(float 2.000000e+00, i32 %8) >>> >> nounwind readonly >>> >> >>> >> to device intrinsic. The table llvm/IntrinsicsNVVM.td does not contain >>> >> such intrinsic, however it should be builtin, according to >>> >> cuda/include/math_functions.h >>> > >>> > >>> > It actually gets lowered into an external function call. >>> > >>> > >>> >> >>> >> Is my understanding correct, and we need simply add the corresponding >>> >> definition to...
2013 Feb 17
0
[LLVMdev] [NVPTX] We need an LLVM CUDA math library, after all
...>> >> nounwind readonly >>>> >> >>>> >> to device intrinsic. The table llvm/IntrinsicsNVVM.td does not >>>> contain >>>> >> such intrinsic, however it should be builtin, according to >>>> >> cuda/include/math_functions.h >>>> > >>>> > >>>> > It actually gets lowered into an external function call. >>>> > >>>> > >>>> >> >>>> >> Is my understanding correct, and we need simply add the corresponding >>...
2013 Feb 17
2
[LLVMdev] [NVPTX] We need an LLVM CUDA math library, after all
...unwind readonly >>>>> >> >>>>> >> to device intrinsic. The table llvm/IntrinsicsNVVM.td does not >>>>> contain >>>>> >> such intrinsic, however it should be builtin, according to >>>>> >> cuda/include/math_functions.h >>>>> > >>>>> > >>>>> > It actually gets lowered into an external function call. >>>>> > >>>>> > >>>>> >> >>>>> >> Is my understanding correct, and we need simply ad...
2013 Jun 05
0
[LLVMdev] [NVPTX] We need an LLVM CUDA math library, after all
...>>>>> >> >>>>>> >> to device intrinsic. The table llvm/IntrinsicsNVVM.td does not >>>>>> contain >>>>>> >> such intrinsic, however it should be builtin, according to >>>>>> >> cuda/include/math_functions.h >>>>>> > >>>>>> > >>>>>> > It actually gets lowered into an external function call. >>>>>> > >>>>>> > >>>>>> >> >>>>>> >> Is my understanding co...
2013 Jun 05
2
[LLVMdev] [NVPTX] We need an LLVM CUDA math library, after all
...> >> >>>>>>> >> to device intrinsic. The table llvm/IntrinsicsNVVM.td does not >>>>>>> contain >>>>>>> >> such intrinsic, however it should be builtin, according to >>>>>>> >> cuda/include/math_functions.h >>>>>>> > >>>>>>> > >>>>>>> > It actually gets lowered into an external function call. >>>>>>> > >>>>>>> > >>>>>>> >> >>>>>>> &gt...