Skip to content

Align TrackingAllocate, TrackingDeallocate, and TrackingReallocate header size in bench/subgraph/benchmark.cc to std::max(sizeof(size_t), alignof(std::max_align_t)) so returned pointers preserve std::max_align_t alignment on 32-bit targets. - #11716

Merged
copybara-service[bot] merged 1 commit into
masterfrom
test_1001368503
Oct 19, 2026

Conversation

@copybara-service

@copybara-service copybara-service Bot commented Oct 17, 2026 •

Copy link
Copy Markdown
Contributor

Align TrackingAllocate, TrackingDeallocate, and TrackingReallocate header size in bench/subgraph/benchmark.cc to std::max(sizeof(size_t), alignof(std::max_align_t)) so returned pointers preserve std::max_align_t alignment on 32-bit targets.

bazel build -c opt //bench/subgraph:mobilenet
bazel-bin/bench/subgraph/mobilenet

…te` header size in `bench/subgraph/benchmark.cc` to `std::max(sizeof(size_t), alignof(std::max_align_t))` so returned pointers preserve `std::max_align_t` alignment on 32-bit targets.

```bash
bazel build -c opt //bench/subgraph:mobilenet
bazel-bin/bench/subgraph/mobilenet
```

PiperOrigin-RevId: 1002198189
@copybara-service
copybara-service Bot merged commit 11351fb into master Oct 19, 2026
27 checks passed
@copybara-service
copybara-service Bot deleted the test_1001368503 branch October 19, 2026 09:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant