Skip to content

Commit

Permalink
128 Kernels for developer configurations (pytorch#8570)
Browse files Browse the repository at this point in the history
Summary:

Add constraint for 128 kernel build

Reviewed By: lucylq

Differential Revision: D69600543
  • Loading branch information
Chris Thompson authored and facebook-github-bot committed Feb 20, 2025
1 parent fc5a492 commit 4093227
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions runtime/kernel/targets.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ def _operator_registry_preprocessor_flags():
return select({
"DEFAULT": [],
"fbsource//xplat/executorch/build/constraints:executorch-max-kernel-num-256": ["-DMAX_KERNEL_NUM=256"],
"fbsource//xplat/executorch/build/constraints:executorch-max-kernel-num-128": ["-DMAX_KERNEL_NUM=128"],
"fbsource//xplat/executorch/build/constraints:executorch-max-kernel-num-64": ["-DMAX_KERNEL_NUM=64"],
})
else:
Expand Down

0 comments on commit 4093227

Please sign in to comment.