Displaying 5 results from an estimated 5 matches for "__nv_mul24".
2016 Jul 29
2
[GPUCC] link against libdevice
Hi,
I was trying to compile scalarProd.cu (from CUDA SDK) with the following
command:
* clang++ -I../ -I/usr/local/cuda-7.0/samples/common/inc
--cuda-gpu-arch=sm_50 scalarProd.cu*
but ended up with the following error:
*ptxas fatal : Unresolved extern function '__nv_mul24'*
Seems to me that libdevice was not automatically linked. I wonder what
flags I need to pass to clang to have the code linked against libdevice?
Thanks!
Yuanfeng Peng
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev...
2016 Aug 01
2
[GPUCC] link against libdevice
....cu (from CUDA SDK) with the following
>> command:
>>
>> clang++ -I../ -I/usr/local/cuda-7.0/samples/common/inc
>> --cuda-gpu-arch=sm_50 scalarProd.cu
>>
>> but ended up with the following error:
>>
>> ptxas fatal : Unresolved extern function '__nv_mul24'
>>
>> Seems to me that libdevice was not automatically linked. I wonder what
>> flags I need to pass to clang to have the code linked against libdevice?
>>
>> Thanks!
>> Yuanfeng Peng
>> _______________________________________________
>> LLVM De...
2016 Aug 01
0
[GPUCC] link against libdevice
...trying to compile scalarProd.cu (from CUDA SDK) with the following
> command:
>
> * clang++ -I../ -I/usr/local/cuda-7.0/samples/common/inc
> --cuda-gpu-arch=sm_50 scalarProd.cu*
>
> but ended up with the following error:
>
> *ptxas fatal : Unresolved extern function '__nv_mul24'*
>
> Seems to me that libdevice was not automatically linked. I wonder what
> flags I need to pass to clang to have the code linked against libdevice?
>
> Thanks!
> Yuanfeng Peng
> _______________________________________________
> LLVM Developers mailing list
> llvm...
2016 Aug 01
0
[GPUCC] link against libdevice
...include*
* /usr/local/bin/../lib/clang/3.9.0/include*
* /usr/include*
* /usr/local/cuda/include*
*End of search list.*
* "/usr/local/cuda/bin/ptxas" -m64 -O0 --gpu-name sm_50 --output-file
/tmp/scalarProd-181f7e.o /tmp/scalarProd-32a530.s*
*ptxas fatal : Unresolved extern function '__nv_mul24'*
*clang-3.9: error: ptxas command failed with exit code 255 (use -v to see
invocation)*
Thanks!
Yuanfeng
On Mon, Aug 1, 2016 at 1:04 AM, Justin Lebar <jlebar at google.com> wrote:
> Hi, Yuanfeng.
>
> What version of clang are you using? CUDA is only known to work at
> tip...
2016 Aug 01
3
[GPUCC] link against libdevice
...n/../lib/clang/3.9.0/include
> /usr/include
> /usr/local/cuda/include
> End of search list.
>
> "/usr/local/cuda/bin/ptxas" -m64 -O0 --gpu-name sm_50 --output-file
> /tmp/scalarProd-181f7e.o /tmp/scalarProd-32a530.s
> ptxas fatal : Unresolved extern function '__nv_mul24'
> clang-3.9: error: ptxas command failed with exit code 255 (use -v to see
> invocation)
>
> Thanks!
> Yuanfeng
>
> On Mon, Aug 1, 2016 at 1:04 AM, Justin Lebar <jlebar at google.com> wrote:
>>
>> Hi, Yuanfeng.
>>
>> What version of clang are...