Skip to content

[SYCL] Question on address space inference #361

Closed
@agozillon

Description

@agozillon

So I've been tinkering with the new address space inference method, but ran into some difficulties. Namely that I foolishly forgot there was a pass recipe required to resolve the address spaces from generic into concrete address spaces. I brought this up recently and @bader explained it to me quite well.

So I would like to know if possible please:

  1. The required set of passes that should be ran on the LLVM IR to achieve the resolution from generic to concrete (we currently run -O3 but perhaps it doesn't contain all the passes that are required, e.g. the InferAddressSpaces Pass)
  2. If the InferAddressSpaces pass that currently exists upstream is good enough for the concrete address space resolution or if the Intel Backend version has some modifications to it that are required for this to fully function?

I believe it was mentioned that @asavonic is the right person to answer these questions! Thank you very much for your answers and help on this.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions