Commit 3d80471
committed
Dtype selective build: fail if portable/optimized not in kernel_deps
Pull Request resolved: #10990
#10985
Try to make user error harder for dtype selective build.
Currently, if dtype selective build cannot be enabled we silently fallback to regular dtype selective build.
This diff:
1. Emits failure when there is nothing in kernel_deps and dtype_selective_build=True.
2. Remove dtype_selective_build=True for cases in (1).
3. Warning that dtype selective build is not enabled if user is not in xplat.
ghstack-source-id: 285196226
Differential Revision: [D75027794](https://our.internmc.facebook.com/intern/diff/D75027794/)1 parent 7d194cf commit 3d80471
1 file changed
+15
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
546 | 546 | | |
547 | 547 | | |
548 | 548 | | |
| 549 | + | |
| 550 | + | |
| 551 | + | |
| 552 | + | |
| 553 | + | |
| 554 | + | |
| 555 | + | |
| 556 | + | |
| 557 | + | |
| 558 | + | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
| 562 | + | |
| 563 | + | |
549 | 564 | | |
550 | 565 | | |
551 | 566 | | |
| |||
0 commit comments