Skip to content

Conversation

@zingo
Copy link
Collaborator

@zingo zingo commented Nov 7, 2024

This makes executorch_prim::et_copy_index.tensor and executorch_prim::et_view.default also use a lamba function like the rest. This fixes a problem where the functions pointers didn't get proper values for this two ops.

Tested with a non delegated view op on Arm backend.

This makes executorch_prim::et_copy_index.tensor and
executorch_prim::et_view.default also use a lamba function like the
rest. This fixes a problem where the functions pointers didn't get
proper values for this two ops.

Signed-off-by: Zingo Andersen <[email protected]>
Change-Id: Icc2623c5fe730483ddb21f041fe52de03f63a953
@pytorch-bot
Copy link

pytorch-bot bot commented Nov 7, 2024

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/6709

Note: Links to docs will display an error until the docs builds have been completed.

❌ 1 New Failure

As of commit eaf42b9 with merge base dc41596 (image):

NEW FAILURE - The following job has failed:

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Nov 7, 2024
@zingo zingo added partner: arm For backend delegation, kernels, demo, etc. from the 3rd-party partner, Arm ciflow/trunk labels Nov 7, 2024
@zingo zingo requested a review from digantdesai November 7, 2024 08:49
@freddan80
Copy link
Collaborator

@digantdesai since this is touching code outside arm delegate, will you have a look?

@facebook-github-bot
Copy link
Contributor

@digantdesai has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@freddan80 freddan80 merged commit 4f2ac7e into pytorch:main Nov 13, 2024
101 of 103 checks passed
@zingo zingo deleted the Use-lambda-on-all-kernel-prim-ops branch November 14, 2024 14:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ciflow/trunk CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. partner: arm For backend delegation, kernels, demo, etc. from the 3rd-party partner, Arm

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants