Skip to content

Merge google -> main - #2384

Merged
GMNGeoffrey merged 12 commits into
iree-org:mainfrom
GMNGeoffrey:google-to-main
Jul 1, 2020
Merged

GMNGeoffrey merged 12 commits into
iree-org:mainfrom
GMNGeoffrey:google-to-main

Conversation

@GMNGeoffrey

@GMNGeoffrey GMNGeoffrey commented Jul 1, 2020 •

Copy link
Copy Markdown
Member

asaadaldien and others added 12 commits June 30, 2020 21:51
- Introduce FLAGS for target compilation.
- Compiles LLVMIR module into target object.
- Link target object using target toolchain binaries provided via IREE_LLVMAOT_LINKER_PATH environment variable to produce target dylib.
- If target IREE_LLVMAOT_LINKER_PATH isn't provided we call ELFLinker (Not implemented yet)

PiperOrigin-RevId: 319160133
Upstream MLIR replaced overloaded `operator<` and `operator>` in EDSC with
`slt` and `sgt` functions, respectively.

PiperOrigin-RevId: 319236779
…ops to workgroups in vector to GPU pass. Change how the number of workgroup is calculated.

PiperOrigin-RevId: 319252640
Updates TF to HEAD and copies latest version of LLVM BUILD files.

`./scripts/git/update_tf_llvm_submodules.py --llvm_commit=KEEP --update_build_files=true`

COPYBARA_INTEGRATE_REVIEW=iree-org#2377 from GMNGeoffrey:submodule-update 5f05add
PiperOrigin-RevId: 319258983
The current SPIR-V code-generation distributes iterations of the tile
loop to processors in a cyclic manner, but doesnt assume that the
number of processors is greater than or equal to the number of
iterations. This results in some control overhead that can be avoided
by adjusting the number of workgroups used for the launch, so that the
number of processors is always greater than or equal to the number of
iterations of the partitioned loop. This is done by adding an
attribute to the entry point function during the SPIR-V lowering that
describes the method to use for the computing the workgroup count.

Also resets the tolerance on vision_model_test.py. The bumped
tolerance from a previous change seemed to be because of a bug in the
codegen pipeline.

The convolution/pooling cases continue to have an error when similar
technique is applied to it. It needs further investigation. For now
for these ops, loops that implement cyclic distribution of iterations
is used.

iree-org#2134

PiperOrigin-RevId: 319265289
Tensorflow unconditionally sets these flags in their bazelrc and uses them to control some dependencies. A usage of these just showed up in some dependency we transitively include through the tensorflow python monolithic target in tensorflow/tensorflow@de51a99, so now we get errors about not finding dependencies (https://source.cloud.google.com/results/invocations/b6432bad-9c55-4911-b6b3-755e1c87e73c/targets).

I would love to not have to pollute our bazelrc with TF weirdness, but this is yet another case of TF making itself unusable as a library and I don't see a lot of other options.

PiperOrigin-RevId: 319267814
@googlebot

Copy link
Copy Markdown

We found a Contributor License Agreement for you (the sender of this pull request), but were unable to find agreements for all the commit author(s) or Co-authors. If you authored these, maybe you used a different email address in the git commits than was used to sign the CLA (login here to double check)? If these were authored by someone else, then they will need to sign a CLA as well, and confirm that they're okay with these being contributed to Google.
In order to pass this check, please resolve this problem and then comment @googlebot I fixed it.. If the bot doesn't comment, it means it doesn't think anything has changed.

ℹ️ Googlers: Go here for more info.

@GMNGeoffrey

Copy link
Copy Markdown
Member Author

Missing cla is for copybara-worker, which is just an unregistered bot account doing the merge commits. We've reconfigured things to use our iree-copybara-bot account instead, which should prevent this issue in the future

@googlebot

Copy link
Copy Markdown

A Googler has manually verified that the CLAs look good.

(Googler, please make sure the reason for overriding the CLA status is clearly documented in these comments.)

ℹ️ Googlers: Go here for more info.

@googlebot googlebot removed the cla: no label Jul 1, 2020
@GMNGeoffrey
GMNGeoffrey requested a review from ScottTodd July 1, 2020 19:11

@ScottTodd ScottTodd left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

lgtm assuming tests pass

@GMNGeoffrey
GMNGeoffrey merged commit 6e737bb into iree-org:main Jul 1, 2020
@GMNGeoffrey
GMNGeoffrey deleted the google-to-main branch July 1, 2020 19:28
@GMNGeoffrey GMNGeoffrey mentioned this pull request Jul 7, 2020
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.

10 participants