Commit 4e98f5a
committed
optimized/grid_sampler_2d: rename fp16_hw buck lib to avoid op_ prefix
Buck's op_registration_util._enforce_deps rejects any dep starting with
`:op_` on the theory that op_targets should not depend on other
op_targets. The previously-named `:op_grid_sampler_2d_fp16_hw` tripped
that check when op_grid_sampler_2d (which is an op_target) declared it
as a dep.
Rename the internal helper library to `grid_sampler_2d_fp16_hw_impl`,
matching the existing `add_sub_impl` / `binary_ops` naming for
op-specific implementation helpers. No change to file contents, CMake,
or the C++ dispatch — only the Buck target name and the corresponding
dep reference.1 parent 53697e9 commit 4e98f5a
2 files changed
Lines changed: 8 additions & 4 deletions
File tree
- kernels/optimized/cpu
- shim_et/xplat/executorch/kernels/optimized
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
83 | | - | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
84 | 86 | | |
85 | | - | |
| 87 | + | |
86 | 88 | | |
87 | 89 | | |
88 | 90 | | |
| |||
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
224 | 224 | | |
225 | 225 | | |
226 | 226 | | |
227 | | - | |
228 | | - | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
229 | 231 | | |
230 | 232 | | |
231 | 233 | | |
| |||
0 commit comments