acts-project / acts-project/covfie

Missing "#include <cstdint>" when compiling with gcc16/cuda 13.4.1 ?

未关闭
#120 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
C++
星标
17
派生
11
平均合并
3 小时 54 分钟
30 天内合并 PR
14

描述

Hi,

I've tried a local test build of AthenaExternals with gcc16 and the recently released cuda 13.4.1 and see many compilation errors in covfie that get's pulled in by ACTS/traccc similar to:
```
/build1/elmsheus/gcc16_20260910/build/build/AthenaExternals/src/Acts-build/_deps/covfie-src/lib/core/covfie/core/backend/transformer/linear.hpp(63): error: identifier "uint32_t" is undefined
```
It seems a simple
```
#include
```
might be missing in the following files:
```
lib/core/covfie/core/utility/binary_io.hpp
lib/core/covfie/core/backend/primitive/constant.hpp
lib/core/covfie/core/backend/transformer/affine.hpp
lib/core/covfie/core/backend/transformer/clamp.hpp
lib/core/covfie/core/backend/transformer/linear.hpp
lib/core/covfie/core/backend/primitive/array.hpp
lib/core/covfie/core/backend/transformer/strided.hpp
lib/core/covfie/core/field.hpp
lib/cuda/covfie/cuda/backend/primitive/cuda_device_array.hpp
lib/cuda/covfie/cuda/backend/primitive/cuda_texture.hpp
```

Could you please check ?
Cheers, Johannes

贡献指南

打开贡献指南

调研方向

Open each listed file under lib/core/covfie/... and lib/cuda/covfie/... (binary_io.hpp, constant.hpp, affine.hpp, clamp.hpp, linear.hpp, array.hpp, strided.hpp, field.hpp, cuda_device_array.hpp, cuda_texture.hpp) and check for `uint32_t` usage before any standard integer-type include. Reproduce the failure with the same gcc16/CUDA 13.4.1 AthenaExternals build setup to confirm the error list. A done state is a clean rebuild with the reported `uint32_t` undefined diagnostics gone in those paths and no new compilation regressions.

由索引模型根据 Issue 内容生成。

评估

技术栈
cpp
领域
build-system
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
活跃
描述清晰度
描述清楚
新手友好度
74/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。