<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/56634>56634</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
OpenMP Target (V100) kokkos-openmptarget-examples in Scan (Failed correctness)
</td>
</tr>
<tr>
<th>Labels</th>
<td>
openmp
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
martagarciamartinez
</td>
</tr>
</table>
<pre>
While testing the kokkos-openmptarget-examples(i) on V100, I am encountering this error in the "Scan" test case
(i) https://github.com/kokkos/kokkos-openmptarget-examples
For some reason, the values are zero but there shouldn't be?
In kokkos-openmptarget-examples/Scan> ./test.ompt
RangePolicy correctness passed with T[secs] = 0.000322
TeamPolicy: Failed correctness: expected check = 2, got d(0,1) = 0
TeamPolicy: Failed correctness: expected check = 5, got d(0,2) = 0
TeamPolicy: Failed correctness: expected check = 9, got d(0,3) = 0
TeamPolicy: Failed correctness: expected check = 14, got d(0,4) = 0
TeamPolicy: Failed correctness: expected check = 20, got d(0,5) = 0
TeamPolicy: Failed correctness: expected check = 27, got d(0,6) = 0
TeamPolicy: Failed correctness: expected check = 35, got d(0,7) = 0
TeamPolicy: Failed correctness: expected check = 44, got d(0,8) = 0
TeamPolicy: Failed correctness: expected check = 54, got d(0,9) = 0
TeamPolicy: Failed correctness: expected check = 65, got d(0,10) = 0
TeamPolicy: Failed correctness: expected check = 77, got d(0,11) = 0
TeamPolicy: Failed correctness: expected check = 90, got d(0,12) = 0
TeamPolicy: Failed correctness: expected check = 104, got d(0,13) = 0
TeamPolicy: Failed correctness: expected check = 119, got d(0,14) = 0
TeamPolicy: Failed correctness: expected check = 135, got d(0,15) = 0
…
TeamPolicy: Failed correctness: expected check = 350, got d(312,25) = 0
TeamPolicy: Failed correctness: expected check = 377, got d(312,26) = 0
TeamPolicy: Failed correctness: expected check = 405, got d(312,27) = 0
TeamPolicy: Failed correctness: expected check = 434, got d(312,28) = 0
TeamPolicy: Failed correctness: expected check = 464, got d(312,29) = 0
TeamPolicy: Failed correctness: expected check = 495, got d(312,30) = 0
TeamPolicy: Failed correctness: expected check = 527, got d(312,31) = 0
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJytls1unDAUhZ_GbKwg_wHDgsU0yUhZVI3aqF0buAN0ACPbpEmevjbTNMkwTRexNBp8bfP5-toHnVLVj8WPtusBWzC2GxtsW8AHdTgoc6EmGIfJSt2AvYAHOUw9GMQ2HWI5ViP-TglB7BLfYDlgGCs1jxb0EdIZDForjbtxQSLGvlVydI9lJVxJA4hcIbJ9BrbWTgZxF-_cr-lsO5dxpQYXHPP52_hHYkfa8r9zCxs1ANYgjRp9kj6Je9nPYLDUgJ9AK1zO1ve70LRq7ms3MbO4BMR3-DXuZvxPSXbL3vg1jl3b7y9WbtYbxlc5NnCr-q56xJXSGio7gjF4ksZAjX-5_eI7lHwyUBmUXGHErzCJCSGcMXTJ0JYcOXcghyPG1QrvpDu7-jXQ98LD5CLf30J1WFDM16BRFteu3v7UqK_5ssiHuMkpl4Xh5qdcHoZLxSlYhAEzcgpOAoGzU3AaBsxXZ5eFAYtVjTeBLtsKnIcBp6tSUBKGnK1OjwZSXr66cDSQ9ihZ1ZmGkh9dCZsGEiBd32d6KkF0zZAb2aYfFM6b0nNf90sWSO787Y35Aw8keUGSM_BQsufiDDyQ9EV6Dh5I_iI_UxYe6AuQsDMHyl8-AlFd8DrnuYxsZ3sovjiL8fkW3y0ew_mmzdFm5e9aEG-zvAfx889kxvJo1n3xjsXq-_vnx8Wk1U_3pgs7Y-bF3yRpykXUFpt8n4tyn3ORZrXMJN-L_Z7mWV0D4fs8iXpZQm8KZ2Sc1Tum6hrO0ERdwQhjJGOEpoSyNBa1gJoTWm_K0jEBCQKDyz32ScRKN5EulnzKuTFusO-MNS-Dzjd1zQiwrOX4crat0sUgtZWN1FUnfbMb4SlatlEse_gN2GxUiA">