Commit 1b726b2
authored
Fix webgpu_native_test build after InputData input migration (#20439)
Summary:
`D108428753` migrated `WebGPUGraph::copy_inputs` and
`update_symints_from_inputs` to take `const std::vector<InputData>&`,
but the `select_as_symint` execute-read case in `test_webgpu_native.cpp`
still built its fake input list as `std::vector<std::pair<const void*,
size_t>>`, which has no conversion to `std::vector<InputData>`. As a
result `webgpu_native_test` failed to compile on `main`. This updates
that one call site to construct a `std::vector<InputData>` and pass
`host_is_int64=true` for the int64 `input_pos`, matching the landed
signature.
This diff was authored with assistance from Claude.
Differential Revision: D1093968241 parent f5acbdb commit 1b726b2
1 file changed
Lines changed: 2 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1490 | 1490 | | |
1491 | 1491 | | |
1492 | 1492 | | |
1493 | | - | |
1494 | | - | |
| 1493 | + | |
1495 | 1494 | | |
1496 | 1495 | | |
1497 | 1496 | | |
1498 | | - | |
| 1497 | + | |
1499 | 1498 | | |
1500 | 1499 | | |
1501 | 1500 | | |
| |||
0 commit comments