Skip to content

Conversation

@kbobrovs
Copy link
Contributor

@kbobrovs kbobrovs commented Nov 9, 2020

LowerESIMD will now use the 'kernel_arg_accessor_ptr' to detect pointers originating from accessors (rather then svm pointers) and mark them appropriately for the BE.

The other two PRs needed for this one to work are:

The patches also require at least this Gen driver:
https://github.com/intel/compute-runtime/releases/tag/20.43.18277

Signed-off-by: Konstantin S Bobrovsky [email protected]

Copy link
Contributor

@bader bader left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please, add a regression test.

KernelArgAccPtrs
? cast<ConstantAsMetadata>(KernelArgAccPtrs->getOperand(Idx))
: nullptr;
unsigned IsAcc =
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it possible to have a kernel_arg_accessor_ptr metadata with 0 value?

@kbobrovs
Copy link
Contributor Author

now part of #2746

@kbobrovs kbobrovs closed this Nov 17, 2020
@kbobrovs kbobrovs deleted the drop_image_wrap_lwr_esimd branch January 19, 2022 22:51
jsji pushed a commit that referenced this pull request Oct 11, 2024
With the latest release of spirv-tools (1.3.296) this test now passes.

Original commit:
KhronosGroup/SPIRV-LLVM-Translator@a217f5e3449eaa8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants