<html>#2922: CarpetX does not compile with CUDA 12.9
<table style='border-spacing: 1ex 0pt; '>
<tr><td style='text-align:right'> Reporter:</td><td>Steven R. Brandt</td></tr>
<tr><td style='text-align:right'>   Status:</td><td>new</td></tr>
<tr><td style='text-align:right'>Milestone:</td><td>ET_2026_05</td></tr>
<tr><td style='text-align:right'>  Version:</td><td></td></tr>
<tr><td style='text-align:right'>     Type:</td><td>bug</td></tr>
<tr><td style='text-align:right'> Priority:</td><td>major</td></tr>
<tr><td style='text-align:right'>Component:</td><td>CarpetX</td></tr>
</table>

<p>Here is the output of nvcc:</p>
<div class="codehilite"><pre><span></span><code>$ nvcc --version
nvcc: NVIDIA <span class="o">(</span>R<span class="o">)</span> Cuda compiler driver
Copyright <span class="o">(</span>c<span class="o">)</span> <span class="m">2005</span>-2025 NVIDIA Corporation
Built on Tue_May_27_02:21:03_PDT_2025
Cuda compilation tools, release <span class="m">12</span>.9, V12.9.86
Build cuda_12.9.r12.9/compiler.36037853_0
</code></pre></div>

<p>The problem is that in io_openpmd.hxx, two calls to any() cannot be properly resolved. I made various attempts to coerce the compiler to use the right any, but all of them failed.</p>
<p>The branch hack/vect_any that gets around the problem, but I didn't make it a PR because i don't think this is how we want to handle the issue.</p>
<p>--<br/>
Ticket URL: <a href='https://bitbucket.org/einsteintoolkit/tickets/issues/2922/carpetx-does-not-compile-with-cuda-129'>https://bitbucket.org/einsteintoolkit/tickets/issues/2922/carpetx-does-not-compile-with-cuda-129</a></p>
</html>