Skip to content

Add direct includes for size_t and memcpy in enum.cuh test fixture #354

@coderabbitai

Description

@coderabbitai

Summary

The file numbast/src/numbast/experimental/mlir/static/tests/data/enum.cuh uses size_t (lines 50, 78, 114–115) and memcpy (lines 53, 56, 59, 62, 81, 84, 87, 90, 117, 119) but only includes <cuda/std/cstdint>. This creates a fragile transitive dependency that may break if the file is parsed or compiled without the right transitive includes from other headers.

Suggested Fix

Add direct includes near the top of the file:

 #include <cuda/std/cstdint>
+#include <cstddef>
+#include <cstring>

References

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions