Skip to content

Move references to HAL executables inside hal.device.switch ops. - #3250

Merged
ScottTodd merged 2 commits into
iree-org:mainfrom
ScottTodd:linking
Sep 23, 2020
Merged

ScottTodd merged 2 commits into
iree-org:mainfrom
ScottTodd:linking

Conversation

@ScottTodd

Copy link
Copy Markdown
Member

Progress on #1587

@ScottTodd ScottTodd added the compiler/dialects Relating to the IREE compiler dialects (flow, hal, vm) label Sep 23, 2020
@ScottTodd
ScottTodd requested a review from benvanik September 23, 2020 01:17
@google-cla google-cla Bot added the cla: yes label Sep 23, 2020
if (!numWorkgroupsFn) return failure();
workgroupCount = calculateWorkgroupCountFromNumWorkgroupsFn(
loc, numWorkgroupsFn, executableOp.getInterfaceOp(),
loc, numWorkgroupsFn, dispatchState.executableOp.getInterfaceOp(),

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

(not needed here but could happen in a followup) if we passed the interface in then we could potentially remove executableOp from the dispatch state entirely

@ScottTodd
ScottTodd merged commit 46adac9 into iree-org:main Sep 23, 2020
@ScottTodd
ScottTodd deleted the linking branch September 23, 2020 15:25
@rsuderman rsuderman mentioned this pull request Sep 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

compiler/dialects Relating to the IREE compiler dialects (flow, hal, vm)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants