<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>This option is for OpenMP only. For cuda use something like this:
--cuda-gpu-arch=sm_35 -Xarch_sm_35 -g0<br>
</p>
<pre class="moz-signature" cols="72">-------------
Best regards,
Alexey Bataev</pre>
<div class="moz-cite-prefix">11.03.2019 14:55, treinz пишет:<br>
</div>
<blockquote type="cite"
cite="mid:70f459cd.4b3.1696e1bf248.Coremail.treinz@163.com">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<div
style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial">
<div>I tried that with the axpy example:</div>
<div><br>
</div>
<div>
<div>clang++ axpy.cu -Xopenmp-target -g0 -o axpy
--cuda-gpu-arch=sm_75 \</div>
<div>-Wl,--dynamic-linker,$LINUXBREWHOME/lib/ld.so \</div>
<div>-L$LINUXBREWHOME/lib \</div>
<div>-L/net/gs/vol3/software/modules-sw/cuda/10.0/Linux/RHEL6/x86_64/lib64
\</div>
<div>-Wl,-rpath,$LINUXBREWHOME/lib \</div>
<div>-lcudart_static -ldl -lrt -pthread</div>
</div>
<br>
but clang complains: clang-9: warning: argument unused during
compilation: '-Xopenmp-target -g0'
[-Wunused-command-line-argument]<br>
<br>
在 2019-03-12 02:38:33,"Alexey Bataev"
<a class="moz-txt-link-rfc2396E" href="mailto:a.bataev@outlook.com"><a.bataev@outlook.com></a> 写道:<br>
<blockquote id="isReplyContent" style="PADDING-LEFT: 1ex;
MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<p>-Xopenmp-target -g0<br>
</p>
<pre class="moz-signature" cols="72">-------------
Best regards,
Alexey Bataev</pre>
<div class="moz-cite-prefix">11.03.2019 14:35, treinz пишет:<br>
</div>
<blockquote type="cite"
cite="mid:54f49d07.42f.1696e0a26b8.Coremail.treinz@163.com">
<div
style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial">
<div>Hi Alexey,</div>
<div><br>
</div>
<div>Is there any option for clang to turn on debug for
the host code only but not the device code? I've been
using something like -ggdb3 -O0 but this generate debug
info for both host and device. I'm trying to work around
the aforementioned ptxas bug.</div>
<div><br>
</div>
<div>Thanks,</div>
<div>Char</div>
<br>
<br>
At 2019-02-28 02:09:54, "Alexey Bataev" <a
class="moz-txt-link-rfc2396E"
href="mailto:a.bataev@outlook.com"
moz-do-not-send="true"><a.bataev@outlook.com></a>
wrote:<br>
<blockquote id="isReplyContent" style="PADDING-LEFT: 1ex;
MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<p>Hi Char, it looks like they have some kind of buffer
overflow bug in their ptxas tool.<br>
</p>
<pre class="moz-signature" cols="72">-------------
Best regards,
Alexey Bataev</pre>
<div class="moz-cite-prefix">27.02.2019 13:08, treinz
пишет:<br>
</div>
<blockquote type="cite"
cite="mid:2a6978ed.913.16930249224.Coremail.treinz@163.com">
<div
style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial">
<div>Hi Alexey,</div>
<div><br>
</div>
<div>I submitted the bug report to nvidia. While
they are working on it, can you share some insight
in what could potentially cause this? I just want
to get a sense if such a bug require significant
amount of work to fix, which can help me make some
decision moving forward with my project.</div>
<div><br>
</div>
<div>Thanks,</div>
<div>Char</div>
<br>
At 2019-02-27 03:19:02, "Alexey Bataev" <a
class="moz-txt-link-rfc2396E"
href="mailto:a.bataev@outlook.com"
moz-do-not-send="true"><a.bataev@outlook.com></a>
wrote:<br>
<blockquote id="isReplyContent" style="PADDING-LEFT:
1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc
1px solid">
<p>Hi Char, yes, this line causes the crash. You
don't need .cu files (I don't know what files
are you talking about, clang does not generate
.cu files). You need just this .s file to
reproduce the error and nothing else.<br>
</p>
<pre class="moz-signature" cols="72">-------------
Best regards,
Alexey Bataev</pre>
<div class="moz-cite-prefix">26.02.2019 13:06,
treinz пишет:<br>
</div>
<blockquote type="cite"
cite="mid:5c79a656.a03.1692afc7bbb.Coremail.treinz@163.com">
<div
style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial">
<div>Hi Alexey,</div>
<div><br>
</div>
<div>Just want to make sure I understand what
you said because I'm not familiar with the
llvm pipeline, it's this line:</div>
<div><br>
</div>
<div>/net/gs/vol3/software/modules-sw/cuda/10.0/Linux/RHEL6/x86_64/bin/ptxas"
-m64 -g --dont-merge-basicblocks
--return-at-end -v --gpu-name sm_75
--output-file
/tmp/60663577.1.login.q/testparticles-4fd988.o
/tmp/60663577.1.login.q/testparticles-1d20c4.s</div>
<div><br>
</div>
<div>that segfaults, where the
testparticles-1d20c4.s is generated by the
command:</div>
<div><br>
</div>
<div>/home/aznb/.linuxbrew/Cellar/llvm/HEAD-48aefa8/bin/clang-9"
-cc1 -triple nvptx64-nvidia-cuda -aux-triple
x86_64-unknown-linux-gnu -S -disable-free
-disable-llvm-verifier -discard-value-names
-main-file-name testparticles.cpp
-mrelocation-model static -mthread-model
posix -mdisable-fp-elim -no-integrated-as
-fuse-init-array -fcuda-is-device
-mlink-builtin-bitcode
/net/gs/vol3/software/modules-sw/cuda/10.0/Linux/RHEL6/x86_64/nvvm/libdevice/libdevice.10.bc
-target-feature +ptx61 -target-cpu sm_75
-dwarf-column-info -debug-info-kind=limited
-dwarf-version=2 -debugger-tuning=gdb -v
-resource-dir
/home/aznb/.linuxbrew/Cellar/llvm/HEAD-48aefa8/lib/clang/9.0.0
-internal-isystem
/home/aznb/.linuxbrew/Cellar/llvm/HEAD-48aefa8/lib/clang/9.0.0/include/cuda_wrappers
-internal-isystem
/net/gs/vol3/software/modules-sw/cuda/10.0/Linux/RHEL6/x86_64/include
-include __clang_cuda_runtime_wrapper.h
-isystem
/home/aznb/.linuxbrew/Cellar/boost/1.68.0_clang/include/boost-1_68
-I /home/aznb/mycodes/scbmc -I
/home/aznb/mycodes/scbmc/build_cuda_clang_debug/_deps/kokkos-src/core/src
-I
/home/aznb/mycodes/scbmc/build_cuda_clang_debug/_deps/kokkos-src/containers/src
-I
/home/aznb/mycodes/scbmc/build_cuda_clang_debug/_deps/kokkos-src/algorithms/src
-I
/home/aznb/mycodes/scbmc/build_cuda_clang_debug/_deps/kokkos-build
-I /home/aznb/mycodes/scbmc/../thrust -I
/net/gs/vol3/software/modules-sw/cuda/10.0/Linux/RHEL6/x86_64/include
-I
/home/aznb/mycodes/scbmc/build_cuda_clang_debug/_deps/kokkosutils-src
-I
/home/aznb/mycodes/scbmc/build_cuda_clang_debug/_deps/alias-src
-I
/home/aznb/mycodes/scbmc/build_cuda_clang_debug/_deps/ziggurat-src
-I
/home/aznb/mycodes/scbmc/build_cuda_clang_debug/_deps/distribution-src
-I
/home/aznb/mycodes/scbmc/build_cuda_clang_debug/_deps/generic-src
-internal-isystem
/home/aznb/.linuxbrew/lib/gcc/x86_64-unknown-linux-gnu/5.5.0/../../../../include/c++/5.5.0
-internal-isystem
/home/aznb/.linuxbrew/lib/gcc/x86_64-unknown-linux-gnu/5.5.0/../../../../include/c++/5.5.0/x86_64-unknown-linux-gnu
-internal-isystem
/home/aznb/.linuxbrew/lib/gcc/x86_64-unknown-linux-gnu/5.5.0/../../../../include/c++/5.5.0/backward
-internal-isystem
/home/aznb/.linuxbrew/lib/gcc/x86_64-unknown-linux-gnu/5.5.0/../../../../include/c++/5.5.0
-internal-isystem
/home/aznb/.linuxbrew/lib/gcc/x86_64-unknown-linux-gnu/5.5.0/../../../../include/c++/5.5.0/x86_64-unknown-linux-gnu
-internal-isystem
/home/aznb/.linuxbrew/lib/gcc/x86_64-unknown-linux-gnu/5.5.0/../../../../include/c++/5.5.0/backward
-internal-isystem /usr/local/include
-internal-isystem
/home/aznb/.linuxbrew/Cellar/llvm/HEAD-48aefa8/lib/clang/9.0.0/include
-internal-externc-isystem /include
-internal-externc-isystem /usr/include
-internal-isystem /usr/local/include
-internal-isystem
/home/aznb/.linuxbrew/Cellar/llvm/HEAD-48aefa8/lib/clang/9.0.0/include
-internal-externc-isystem /include
-internal-externc-isystem /usr/include -O0
-std=c++17 -fdeprecated-macro
-fno-dwarf-directory-asm
-fdebug-compilation-dir
/home/aznb/mycodes/scbmc/build_cuda_clang_debug
-ferror-limit 19 -fmessage-length 0
-fobjc-runtime=gcc -fcxx-exceptions
-fexceptions -fdiagnostics-show-option -o
/tmp/60663577.1.login.q/testparticles-1d20c4.s
-x cuda
/home/aznb/mycodes/scbmc/testparticles.cpp</div>
<div><br>
</div>
<div>Both of these commands were shown in the
error log. How do I replace my original cpp
files with the two *.cu files automatically
generated by llvm in the above command to
reproduce the bug?</div>
<div><br>
</div>
<div>Thanks,</div>
<div>Char</div>
<br>
<br>
At 2019-02-26 09:22:35, "Alexey Bataev" <a
class="moz-txt-link-rfc2396E"
href="mailto:a.bataev@outlook.com"
moz-do-not-send="true"><a.bataev@outlook.com></a>
wrote:<br>
<blockquote id="isReplyContent"
style="PADDING-LEFT: 1ex; MARGIN: 0px 0px
0px 0.8ex; BORDER-LEFT: #ccc 1px solid"> Hi
Char, unfortunately I cannot help you with
these crashes, because they caused not by
clang /LLVM, but the NVidia's PTX-to-SASS
translator ptxas. It is ptxas who crashes
and I can't do anything about this. You need
to report the bug to NVidia, but you need to
manually run the ptxas tool with the
generated .s file. Sometimes it helps to
compile the code sequentially, not using the
parallel builds. Plus, those crashes may
disappear from time to time.<br>
<br>
<div id="AppleMailSignature" dir="ltr">Best
regards,
<div>Alexey Bataev</div>
</div>
<div dir="ltr"><br>
25 февр. 2019 г., в 19:59, treinz <<a
href="mailto:treinz@163.com"
moz-do-not-send="true">treinz@163.com</a>>
написал(а):<br>
<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div
style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial">
<div>Hi Alexey,</div>
<div><br>
</div>
<div>Thanks for the great work! The
version I checked out works most of
the time. But I do encounter crashes
sometimes. I can't file a bug report
on <a href="https://bugs.llvm.org/"
_src="https://bugs.llvm.org/"
moz-do-not-send="true">https://bugs.llvm.org/</a> because
I don't have an account. I sent an
email to <a
href="mailto:bugs-admin@lists.llvm.org"
_src="mailto:bugs-admin@lists.llvm.org" moz-do-not-send="true">bugs-admin@lists.llvm.org</a> for
an account already but I haven't
heard back. Meanwhile, can you take
a look at the issue? I'm attaching
the bug report files here -- the
clang_error.log has the verbose
output from clang and the other
files are generated automatically by
clang upon the crash. I'm using the
above-mentioned commit
48aefa8877713616802d9c90b63f86fe50b9a101
from github mirror. The bug is
reproducible on my machine with a
nvidia RTX2080 card (sm=Turing75).</div>
<br>
<div>Thanks,</div>
<div>Char</div>
<br>
At 2019-01-24 03:25:39, "Alexey
Bataev" <<a
href="mailto:a.bataev@outlook.com"
moz-do-not-send="true">a.bataev@outlook.com</a>>
wrote:<br>
<blockquote id="isReplyContent"
style="PADDING-LEFT: 1ex; MARGIN:
0px 0px 0px 0.8ex; BORDER-LEFT: #ccc
1px solid">
<p>Yes, this one.<br>
</p>
<pre class="moz-signature" cols="72">-------------
Best regards,
Alexey Bataev</pre>
<div class="moz-cite-prefix">23.01.2019
14:17, treinz via llvm-dev пишет:<br>
</div>
<blockquote type="cite"
cite="mid:%3C3dcd5ecb.862.1687c2521a6.Coremail.treinz@163.com%3E">
<div
style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial">
<div>Hi Alexey,</div>
<div><br>
</div>
<div>Thanks for working on this.
I assume the last commit you
mentioned is:</div>
<div><br>
</div>
<div>
<div>commit
48aefa8877713616802d9c90b63f86fe50b9a101
(HEAD -> master,
origin/master, origin/HEAD)</div>
<div>Author: Alexey Bataev <a
class="moz-txt-link-rfc2396E" href="mailto:a.bataev@hotmail.com"
moz-do-not-send="true">
<a.bataev@hotmail.com></a></div>
<div>Date: Wed Jan 23
18:59:54 2019 +0000</div>
<div><br>
</div>
<div> [DEBUGINFO, NVPTX]
Enable support for the debug
info on NVPTX target.</div>
<div><br>
</div>
<div> Enable full support
for the debug info.</div>
<div><br>
</div>
<div> Differential
revision: <a
class="moz-txt-link-freetext"
href="https://reviews.llvm.org/D46189" moz-do-not-send="true">
https://reviews.llvm.org/D46189</a></div>
<div><br>
</div>
<div> git-svn-id: <a
class="moz-txt-link-freetext"
href="https://llvm.org/svn/llvm-project/llvm/trunk@351974"
moz-do-not-send="true">
https://llvm.org/svn/llvm-project/llvm/trunk@351974</a>
91177308-0d34-0410-b5e6-96231b3b80d8</div>
</div>
<div><br>
</div>
<div>I'll check this one out. </div>
<div><br>
</div>
<div>Thanks,</div>
<div>Char</div>
<br>
At 2019-01-24 03:01:18, "Alexey
Bataev" <a
class="moz-txt-link-rfc2396E"
href="mailto:a.bataev@outlook.com" moz-do-not-send="true">
<a.bataev@outlook.com></a>
wrote:<br>
<blockquote id="isReplyContent"
style="PADDING-LEFT: 1ex;
MARGIN: 0px 0px 0px 0.8ex;
BORDER-LEFT: #ccc 1px solid">
<p>Hi Char, I found the
problem, for some reason the
last patch was applied
correctly. Just committed
the fixed version. Tried to
compile axpy.cu, everything
works.<br>
</p>
<pre class="moz-signature" cols="72">-------------
Best regards,
Alexey Bataev</pre>
<div class="moz-cite-prefix">23.01.2019
13:37, treinz пишет:<br>
</div>
<blockquote type="cite"
cite="mid:5ed2d823.60c.1687c00f62b.Coremail.treinz@163.com">
<div
style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial">
<div>Hi Alexey,</div>
<div><br>
</div>
<div>I tried the b7195a6
from the llvm github
mirror, which does
include your commit <a
href="https://reviews.llvm.org/D46189"
_src="https://reviews.llvm.org/D46189" moz-do-not-send="true">D46189</a> (see
below). But it can't
compile the example
program on <a
href="https://llvm.org/docs/CompileCudaWithLLVM.html#invoking-clang."
_src="https://llvm.org/docs/CompileCudaWithLLVM.html#invoking-clang."
moz-do-not-send="true">https://llvm.org/docs/CompileCudaWithLLVM.html#invoking-clang</a> --
the error is:</div>
<div><br>
</div>
<div>[aznb<span
ntes_mm_email="@">@asp
testcuda]$ </span>clang++
axpy.cu -g -o axpy
--cuda-gpu-arch=sm_61
-lcudart_static -ldl
-lrt -pthread -v</div>
<div>
<div>clang version 9.0.0
(<a
class="moz-txt-link-freetext"
href="https://git.llvm.org/git/clang.git" moz-do-not-send="true">https://git.llvm.org/git/clang.git</a>
4566ed0d7c076ad061168f7c6cb5fa3a793614a8) (<a
class="moz-txt-link-freetext"
href="https://git.llvm.org/git/llvm.git" moz-do-not-send="true">https://git.llvm.org/git/llvm.git</a>
b7195a6d8d9064c4fac6a7b91826de80df394f69)</div>
<div>Target:
x86_64-unknown-linux-gnu</div>
<div>Thread model: posix</div>
<div>InstalledDir:
/home/aznb/.linuxbrew/bin</div>
<div>Found candidate GCC
installation:
/home/aznb/.linuxbrew/bin/../lib/gcc/x86_64-unknown-linux-gnu/5.5.0</div>
<div>Found candidate GCC
installation:
/usr/lib/gcc/x86_64-redhat-linux/4.4.4</div>
<div>Found candidate GCC
installation:
/usr/lib/gcc/x86_64-redhat-linux/4.4.7</div>
<div>Selected GCC
installation:
/home/aznb/.linuxbrew/bin/../lib/gcc/x86_64-unknown-linux-gnu/5.5.0</div>
<div>Candidate multilib:
.;@m64</div>
<div>Selected multilib:
.;@m64</div>
<div>Found CUDA
installation:
/net/vol3/software/modules-sw/cuda/10.0/Linux/RHEL6/x86_64, version 10.0</div>
<div> "/home/aznb/mycodes/testcuda
-ferror-limit 19
-fmessage-length 0
-pthread
-fobjc-runtime=gcc
-fcxx-exceptions
-fexceptions
-fdiagnostics-show-option
-o
/tmp/59224042.1.login.q/axpy-560f45.s -x cuda axpy.cu</div>
<div>clang -cc1 version
9.0.0 based upon LLVM
9.0.0svn default
target
x86_64-unknown-linux-gnu</div>
<div>ignoring
nonexistent directory
"/include"</div>
<div>ignoring
nonexistent directory
"/include"</div>
<div>ignoring duplicate
directory
"/home/aznb/.linuxbrew/bin/../lib/gcc/x86_64-unknown-linux-gnu/5.5.0/../../../../include/c++/5.5.0"</div>
<div>ignoring duplicate
directory
"/home/aznb/.linuxbrew/bin/../lib/gcc/x86_64-unknown-linux-gnu/5.5.0/../../../../include/c++/5.5.0/x86_64-unknown-linux-gnu"</div>
<div>ignoring duplicate
directory
"/home/aznb/.linuxbrew/bin/../lib/gcc/x86_64-unknown-linux-gnu/5.5.0/../../../../include/c++/5.5.0/backward"</div>
<div>ignoring duplicate
directory
"/usr/local/include"</div>
<div>ignoring duplicate
directory
"/home/aznb/.linuxbrew/Cellar/llvm/HEAD-b7195a6/lib/clang/9.0.0/include"</div>
<div>ignoring duplicate
directory
"/usr/include"</div>
<div>#include "..."
search starts here:</div>
<div>#include
<...> search
starts here:</div>
<div> /home/aznb/.linuxbrew/Cellar/llvm/HEAD-b7195a6/lib/clang/9.0.0/include/cuda_wrappers</div>
<div> /net/vol3/software/modules-sw/cuda/10.0/Linux/RHEL6/x86_64/include</div>
<div> /home/aznb/.linuxbrew/bin/../lib/gcc/x86_64-unknown-linux-gnu/5.5.0/../../../../include/c++/5.5.0</div>
<div> /home/aznb/.linuxbrew/bin/../lib/gcc/x86_64-unknown-linux-gnu/5.5.0/../../../../include/c++/5.5.0/x86_64-unknown-linux-gnu</div>
<div> /home/aznb/.linuxbrew/bin/../lib/gcc/x86_64-unknown-linux-gnu/5.5.0/../../../../include/c++/5.5.0/backward</div>
<div> /usr/local/include</div>
<div> /home/aznb/.linuxbrew/Cellar/llvm/HEAD-b7195a6/lib/clang/9.0.0/include</div>
<div> /usr/include</div>
<div>End of search list.</div>
<div> "/net/vol3/software/modules-sw/cuda/10.0/Linux/RHEL6/x86_64/bin/ptxas"
-m64 -g
--dont-merge-basicblocks
--return-at-end -v
--gpu-name sm_61
--output-file
/tmp/59224042.1.login.q/axpy-1ebb06.o
/tmp/59224042.1.login.q/axpy-560f45.s</div>
<div>ptxas
/tmp/59224042.1.login.q/axpy-560f45.s,
line 290; fatal :
Parsing error near
'{': syntax error</div>
<div>ptxas fatal : Ptx
assembly aborted due
to errors</div>
<div>clang-9: error:
ptxas command failed
with exit code 255
(use -v to see
invocation)</div>
</div>
<div><br>
</div>
<div>Maybe it's related to
the illegal assembly
code mentioned in <a
href="https://reviews.llvm.org/D46189"
_src="https://reviews.llvm.org/D46189" moz-do-not-send="true">https://reviews.llvm.org/D46189</a> Any
idea what's going on?
I'm including other
people to see if they
have any suggestion. <a
href="https://reviews.llvm.org/D46189"
_src="https://reviews.llvm.org/D46189"
moz-do-not-send="true">https://reviews.llvm.org/D46189</a> also
mentioned that this is
fixed but has the fixed
been merged in the trunk
yet?</div>
<div><br>
</div>
<div>BTW, github mirror's
b7195a6 does include
your commit about the
debug info on nvptx:</div>
<div><br>
</div>
<div>
<div>commit
d77902a49a06890b97e33515d346c6e4df6b756b</div>
<div>Author: Alexey
Bataev <a
class="moz-txt-link-rfc2396E"
href="mailto:a.bataev@hotmail.com" moz-do-not-send="true">
<a.bataev@hotmail.com></a></div>
<div>Date: Tue Jan 22
17:43:37 2019 +0000</div>
<div><br>
</div>
<div> [DEBUGINFO,
NVPTX] Enable support
for the debug info on
NVPTX target.</div>
<div><br>
</div>
<div> Summary: Enable
full support for the
debug info.</div>
<div><br>
</div>
<div> Reviewers:
echristo</div>
<div><br>
</div>
<div> Subscribers:
jholewinski, aprantl,
JDevlieghere,
llvm-commits</div>
<div><br>
</div>
<div> Differential
Revision: <a
class="moz-txt-link-freetext"
href="https://reviews.llvm.org/D46189" moz-do-not-send="true">
https://reviews.llvm.org/D46189</a></div>
<div><br>
</div>
<div> git-svn-id: <a
class="moz-txt-link-freetext"
href="https://llvm.org/svn/llvm-project/llvm/trunk@351846"
moz-do-not-send="true">
https://llvm.org/svn/llvm-project/llvm/trunk@351846</a>
91177308-0d34-0410-b5e6-96231b3b80d8</div>
</div>
<div><br>
</div>
<div>Thanks,</div>
<div>Char</div>
<br>
在 2019-01-23
07:59:12,"Alexey Bataev" <a
class="moz-txt-link-rfc2396E" href="mailto:a.bataev@outlook.com"
moz-do-not-send="true">
<a.bataev@outlook.com></a> 写道:<br>
<blockquote
id="isReplyContent"
style="PADDING-LEFT:
1ex; MARGIN: 0px 0px 0px
0.8ex; BORDER-LEFT: #ccc
1px solid"> Hi Char, I
don't know how often it
is updated, but most
probably it is already
updated.<br>
<br>
<div
id="AppleMailSignature"
dir="ltr">Best
regards,
<div>Alexey Bataev</div>
</div>
<div dir="ltr"><br>
22 янв. 2019 г., в
17:46, treinz <<a
href="mailto:treinz@163.com"
moz-do-not-send="true">treinz@163.com</a>> написал(а):<br>
<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div
style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><br>
<div>Hi Alexey,</div>
<div><br>
</div>
<div>Thank you for
letting me know.
Can I assume the
the github
mirror is bumped
to 9.0 and
should contain
the commit you
mentioned? Just
want to make
sure I'm looking
at the right
repo.</div>
<div><br>
</div>
<div>Thanks,</div>
<div>Char</div>
<br>
<br>
在 2019-01-23
01:46:44,"Alexey
Bataev" <<a
href="mailto:a.bataev@outlook.com"
moz-do-not-send="true">a.bataev@outlook.com</a>> 写道:<br>
<blockquote
id="isReplyContent"
style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc
1px solid">
<p>Hi, debug
info for the
NVPTX is
committed. It
is not a part
of 8.0 RC1,
unfortunately,
only in 9.0
trunk.<br>
</p>
<pre class="moz-signature" cols="72">-------------
Best regards,
Alexey Bataev</pre>
<div
class="moz-cite-prefix">14.12.2018
17:08, Alexey
Bataev пишет:<br>
</div>
<blockquote
type="cite"
cite="mid:AM5PR0902MB19234C1B3E456E4DC4A6ADC485A10@AM5PR0902MB1923.eurprd09.prod.outlook.com">Actually,
we need to
commit just 2
more patches
to enable
basic debug
info support
for NVPTX. So,
I hope, it is
going to be
the part of
the next 8.0
release. It
won't be
backported to
7.0
definitely.
<div>Sure, I
will let you
know when the
patches are
committed to
the trunk, no
problems.<br>
<div><br>
<div
id="AppleMailSignature"
dir="ltr">Best
regards,
<div>Alexey
Bataev</div>
</div>
<div dir="ltr"><br>
14 дек. 2018
г., в 16:55,
treinz <<a
href="mailto:treinz@163.com" moz-do-not-send="true">treinz@163.com</a>>
написал(а):<br>
<br>
</div>
<blockquote
type="cite">
<div dir="ltr">
<div
style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial">
<div>Are you
planning to
release this
as soon as
it's ready or
you want to
make it into a
major release?
Is it possible
to let me know
(maybe by
replying to
this thread)
once the code
is ready? I
know sometimes
it takes a
while to get
things in the
major release.
I greatly
appreciate
your work on
this!</div>
<div><br>
</div>
<div>Thanks,</div>
<div>Char<br>
</div>
<br>
在 2018-12-15
05:19:50,"Alexey
Bataev" <<a
href="mailto:a.bataev@outlook.com" moz-do-not-send="true">a.bataev@outlook.com</a>>
写道:<br>
<blockquote
id="isReplyContent"
style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc
1px solid">
<div>Hi Char,
sorry, you
need to wait a
little bit. It
is almost
ready, but not
yet. For now,
use nvcc if
you need debug
info for Cuda.<br>
<br>
</div>
<pre class="moz-signature" cols="72">-------------
Best regards,
Alexey Bataev</pre>
<div
class="moz-cite-prefix">14.12.2018
14:33, treinz
пишет:<br>
</div>
<blockquote
type="cite"
cite="mid:13dd37a6.1117.167ae35bc75.Coremail.treinz@163.com">
<div
style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial">
<div>Hi Alex,
Eric and
Valentin, <br>
</div>
<div><br>
</div>
<div>Thanks
for the
information. I
don't mean to
push this but
I'm in
desperate need
of debugging
some cuda
code. I'm not
familiar with
the llvm
internal but
it sounds like
there's at
least line
info now,
right? If so,
can you point
me to a branch
of llvm that
can help
tracing the
bug down to
certain line
of code. I
believe my bug
is simply a
write/read out
of array
boundary.<br>
</div>
<div><br>
</div>
<div>Thanks,</div>
<div>Char<br>
</div>
<div><br>
</div>
在 2018-12-05
07:15:28,"Alexey
Bataev" <a
class="moz-txt-link-rfc2396E"
href="mailto:a.bataev@hotmail.com" moz-do-not-send="true">
<a.bataev@hotmail.com></a> 写道:<br>
<blockquote
id="isReplyContent"
style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc
1px solid">
Hi, yes, these
patches are
required to
have tne basic
debug info
support. At
least 2 more
patches are
required to be
able to get
values of the
variables
without
additional
manual data
type casting
in cuda-gdb. <br>
<br>
<div
id="AppleMailSignature"
dir="ltr">Best
regards,
<div>Alexey
Bataev</div>
</div>
<div dir="ltr"><br>
4 дек. 2018
г., в 18:06,
Eric
Christopher
<<a
href="mailto:echristo@gmail.com"
moz-do-not-send="true">echristo@gmail.com</a>> написал(а):<br>
<br>
</div>
<blockquote
type="cite">
<div dir="ltr">
<div dir="ltr">
<div>Adding
Alexey here
who has been
driving this
effort in
llvm.</div>
<div><br>
</div>
There are
about 5
patches
waiting on my
review:
<div><br>
</div>
<div>
<div> -: <a
href="https://reviews.llvm.org/D54320" moz-do-not-send="true">https://reviews.llvm.org/D54320</a></div>
<div> -: <a
href="https://reviews.llvm.org/D46189" moz-do-not-send="true">https://reviews.llvm.org/D46189</a></div>
<div> -: <a
href="https://reviews.llvm.org/D51554" moz-do-not-send="true">https://reviews.llvm.org/D51554</a></div>
<div> -: <a
href="https://reviews.llvm.org/D46061" moz-do-not-send="true">https://reviews.llvm.org/D46061</a></div>
<div> -: <a
href="https://reviews.llvm.org/D45784" moz-do-not-send="true">https://reviews.llvm.org/D45784</a></div>
<div><br>
</div>
<div>After
which I think
we're good.</div>
<div><br>
</div>
<div>-eric</div>
<br>
<div
class="gmail_quote">
<div dir="ltr">On
Mon, Dec 3,
2018 at 6:29
PM Valentin
Churavy via
llvm-dev <<a
href="mailto:llvm-dev@lists.llvm.org" moz-do-not-send="true">llvm-dev@lists.llvm.org</a>>
wrote:<br>
</div>
<blockquote
class="gmail_quote"
style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div
dir="auto">AFAIK
there is work
under way from
IBM (couple of
PRs open), but
yes Clang 7.0
doesn't
produce the
necessary
information.</div>
<div
dir="auto">
<div
dir="auto"><br>
</div>
<div
dir="auto">-V</div>
</div>
<br>
<div
class="gmail_quote">
<div dir="ltr">On
Fri, Nov 30,
2018, 14:58
treinz via
llvm-dev <<a
href="mailto:llvm-dev@lists.llvm.org" target="_blank"
moz-do-not-send="true">llvm-dev@lists.llvm.org</a>
wrote:<br>
</div>
<blockquote
class="gmail_quote"
style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div
style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial">
<div>Hi all,</div>
<div>I found
this <a
href="http://lists.llvm.org/pipermail/llvm-dev/2017-November/118871.html"
rel="noreferrer" target="_blank" moz-do-not-send="true">
http://lists.llvm.org/pipermail/llvm-dev/2017-November/118871.html</a>
when googling
about
compiling CUDA
code using
llvm. Is it
still the case
that one can't
step into CUDA
kernel code
compiled by
llvm in
cuda-gdb? I'm
using clang
7.0.</div>
<div><br>
</div>
<div>Thanks,</div>
<div>Char<br>
</div>
</div>
<br>
<br>
<span
title="neteasefooter">
<p> </p>
</span>_______________________________________________<br>
LLVM
Developers
mailing list<br>
<a
href="mailto:llvm-dev@lists.llvm.org"
rel="noreferrer" target="_blank" moz-do-not-send="true">llvm-dev@lists.llvm.org</a><br>
<a
href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev"
rel="noreferrer noreferrer" target="_blank" moz-do-not-send="true">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a><br>
</blockquote>
</div>
_______________________________________________<br>
LLVM
Developers
mailing list<br>
<a
href="mailto:llvm-dev@lists.llvm.org"
target="_blank" moz-do-not-send="true">llvm-dev@lists.llvm.org</a><br>
<a
href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev"
rel="noreferrer" target="_blank" moz-do-not-send="true">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a><br>
</blockquote>
</div>
</div>
</div>
</div>
</blockquote>
</blockquote>
</div>
<br>
<br>
<span
title="neteasefooter">
<p> </p>
</span></blockquote>
</blockquote>
</div>
<br>
<br>
<span
title="neteasefooter">
<p> </p>
</span></div>
</blockquote>
</div>
</div>
</blockquote>
</blockquote>
</div>
<br>
<br>
<span
title="neteasefooter">
<p> </p>
</span></div>
</blockquote>
</blockquote>
</div>
<br>
<br>
<span title="neteasefooter">
<p> </p>
</span></blockquote>
</blockquote>
</div>
<br>
<br>
<span title="neteasefooter">
<p> </p>
</span></blockquote>
</blockquote>
</div>
<br>
<br>
<span title="neteasefooter">
<p> </p>
</span></div>
</blockquote>
<blockquote type="cite">
<div dir="ltr"><bugreport.tar.bz2></div>
</blockquote>
</blockquote>
</div>
<br>
<br>
<span title="neteasefooter">
<p> </p>
</span> </blockquote>
</blockquote>
</div>
<br>
<br>
<span title="neteasefooter">
<p> </p>
</span> </blockquote>
</blockquote>
</div>
<br>
<br>
<span title="neteasefooter">
<p> </p>
</span> </blockquote>
</blockquote>
</div>
<br>
<br>
<span title="neteasefooter">
<p> </p>
</span>
</blockquote>
</body>
</html>