<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><span class="vcard"><a class="email" href="mailto:xw111luoye@gmail.com" title="Ye Luo <xw111luoye@gmail.com>"> <span class="fn">Ye Luo</span></a>
</span> changed
<a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED - Target CUDA RTL --> CUDA error is: named symbol not found"
href="https://bugs.llvm.org/show_bug.cgi?id=45401">bug 45401</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>RESOLVED
</td>
<td>REOPENED
</td>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>FIXED
</td>
<td>---
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED - Target CUDA RTL --> CUDA error is: named symbol not found"
href="https://bugs.llvm.org/show_bug.cgi?id=45401#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED - Target CUDA RTL --> CUDA error is: named symbol not found"
href="https://bugs.llvm.org/show_bug.cgi?id=45401">bug 45401</a>
from <span class="vcard"><a class="email" href="mailto:xw111luoye@gmail.com" title="Ye Luo <xw111luoye@gmail.com>"> <span class="fn">Ye Luo</span></a>
</span></b>
<pre>After a bit more investigation, I found it related with the flag -march
intended for the host compilation.
I invoke the compiler with
-march=native -O3 -ffast-math -fopenmp -fopenmp-targets=nvptx64-nvidia-cuda
some functions failed to be loaded.
If I put -march=skylake-avx512, it still fails.
Once I changed the flag to -march=skylake, my application runs.
So my hypothesis is, some avx512 codes contaminated my device functions.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>