acts-project / acts-project/acts

Detray Deduction Guides and GPU Code, main branch (2026.09.04.)

Abierto
#6,033 0 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
C++
Estrellas
131
Forks
276
Merge medio
3 d 13 h
PR fusionados (30 d)
112

Descripción

@niermann999, I noticed a set of warnings in our experimental Athena build.

```
In file included from /mnt/hdd1/krasznaa/projects/externals/build/build/AthenaExternals/src/Acts/Traccc/device/hip/src/fitting/kalman_fitting_algorithm_fit_backward_kernel.hip:13:
In file included from /mnt/hdd1/krasznaa/projects/externals/build/build/AthenaExternals/src/Acts/Traccc/device/hip/include/traccc/hip/fitting/kalman_fitting_algorithm.hpp:15:
In file included from /mnt/hdd1/krasznaa/projects/externals/build/build/AthenaExternals/src/Acts/Traccc/device/common/include/traccc/fitting/device/kalman_fitting_algorithm.hpp:18:
In file included from /mnt/hdd1/krasznaa/projects/externals/build/build/AthenaExternals/src/Acts/Traccc/core/include/traccc/fitting/details/kalman_fitting_types.hpp:11:
In file included from /mnt/hdd1/krasznaa/projects/externals/build/build/AthenaExternals/src/Acts/Traccc/core/include/traccc/fitting/kalman_filter/kalman_fitter.hpp:11:
In file included from /mnt/hdd1/krasznaa/projects/externals/build/build/AthenaExternals/src/Acts/Traccc/core/include/traccc/fitting/kalman_filter/kalman_actor.hpp:17:
In file included from /mnt/hdd1/krasznaa/projects/externals/build/build/AthenaExternals/src/Acts/Traccc/core/include/traccc/fitting/kalman_filter/is_line_visitor.hpp:12:
In file included from /mnt/hdd1/krasznaa/projects/externals/build/build/AthenaExternals/src/Acts/Detray/core/include/detray/geometry/surface.hpp:16:
In file included from /mnt/hdd1/krasznaa/projects/externals/build/build/AthenaExternals/src/Acts/Detray/core/include/detray/geometry/detail/surface_kernels.hpp:19:
In file included from /mnt/hdd1/krasznaa/projects/externals/build/build/AthenaExternals/src/Acts/Detray/core/include/detray/utils/ranges.hpp:14:
In file included from /mnt/hdd1/krasznaa/projects/externals/build/build/AthenaExternals/src/Acts/Detray/core/include/detray/utils/ranges/enumerate.hpp:16:
/mnt/hdd1/krasznaa/projects/externals/build/build/AthenaExternals/src/Acts/Detray/core/include/detray/utils/ranges/subrange.hpp:148:20: warning: use of CUDA/HIP target attributes on deduction guides is deprecated; they will be rejected in a future version of Clang [-Wdeprecated-attributes]
148 | DETRAY_HOST_DEVICE subrange()
| ^
/mnt/hdd1/krasznaa/projects/externals/build/build/AthenaExternals/src/Acts/Detray/core/include/detray/utils/ranges/subrange.hpp:152:20: warning: use of CUDA/HIP target attributes on deduction guides is deprecated; they will be rejected in a future version of Clang [-Wdeprecated-attributes]
152 | DETRAY_HOST_DEVICE subrange(index_t start, index_t end)
| ^
/mnt/hdd1/krasznaa/projects/externals/build/build/AthenaExternals/src/Acts/Detray/core/include/detray/utils/ranges/subrange.hpp:156:20: warning: use of CUDA/HIP target attributes on deduction guides is deprecated; they will be rejected in a future version of Clang [-Wdeprecated-attributes]
156 | DETRAY_HOST_DEVICE subrange(deduced_range_t &&range)
| ^
/mnt/hdd1/krasznaa/projects/externals/build/build/AthenaExternals/src/Acts/Detray/core/include/detray/utils/ranges/subrange.hpp:162:20: warning: use of CUDA/HIP target attributes on deduction guides is deprecated; they will be rejected in a future version of Clang [-Wdeprecated-attributes]
162 | DETRAY_HOST_DEVICE subrange(deduced_range_t &&range, index_t pos)
| ^
/mnt/hdd1/krasznaa/projects/externals/build/build/AthenaExternals/src/Acts/Detray/core/include/detray/utils/ranges/subrange.hpp:167:20: warning: use of CUDA/HIP target attributes on deduction guides is deprecated; they will be rejected in a future version of Clang [-Wdeprecated-attributes]
167 | DETRAY_HOST_DEVICE subrange(deduced_range_t &&range, index_range_t &&pos)
| ^
```

etc.

It would be worth checking if CUDA needs the `__host__ __device__` attributes. And with which versions. (For both CUDA and HIP.)

Let me also tag @StewMH and @paradajzblond.

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.