<html>
<head>
<base href="https://llvm.org/bugs/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - CMake FindCUDA Support"
href="https://llvm.org/bugs/show_bug.cgi?id=31655">31655</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>CMake FindCUDA Support
</td>
</tr>
<tr>
<th>Product</th>
<td>clang
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</td>
</tr>
<tr>
<th>Hardware</th>
<td>All
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>enhancement
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>CUDA
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedclangbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>a.huebl@hzdr.de
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>Hi,
I hope it's not cross-posting if I write that here: would it be useful for
others as well to extend CMake's FindCUDA module to support either nvcc or
clang as the device compiler?
<a href="https://github.com/Kitware/CMake/tree/master/Modules/FindCUDA">https://github.com/Kitware/CMake/tree/master/Modules/FindCUDA</a>
I posted this earlier on
<a href="http://public.kitware.com/pipermail/cmake-developers/2016-March/028034.html">http://public.kitware.com/pipermail/cmake-developers/2016-March/028034.html</a>
but I think it's some clean-up necessary to get it done properly.
Besides that, generally switching between both is possible with little manual
fiddling (quick & dirty solution below):
<a href="https://github.com/ComputationalRadiationPhysics/picongpu/pull/1731/files">https://github.com/ComputationalRadiationPhysics/picongpu/pull/1731/files</a></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>