Repository navigation
Commit 76655a0
Fix NVTX profiling: restore missing node_compute_range_.Begin() call (#28273)
### Description
Restores the missing `node_compute_range_.Begin()` call in
`KernelScope`'s constructor. The corresponding `End()` in the destructor
was kept, so every kernel execution hits:
```
ORT_ENFORCE(is_begin_called_, "End must be called after calling Begin.");
```
### Motivation and Context
PR #26846 refactored `sequential_executor.cc` into RAII scope classes
but dropped the `node_compute_range_.Begin()` call during the move. Any
build with `--enable_nvtx_profile` fails at runtime on the first kernel
execution.
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: tianleiwu <30328909+tianleiwu@users.noreply.github.com>1 parent 5f7e9d0 commit 76655a0
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
364 | 364 | | |
365 | 365 | | |
366 | 366 | | |
| 367 | + | |
367 | 368 | | |
368 | 369 | | |
369 | 370 | | |
| |||
0 commit comments