Skip to content

Enable fusion of operations like Matmul with its consumer elemetwise-operations - #4008

Merged
MaheshRavishankar merged 3 commits into
iree-org:mainfrom
MaheshRavishankar:matmul_fusion
Dec 1, 2020
Merged

MaheshRavishankar merged 3 commits into
iree-org:mainfrom
MaheshRavishankar:matmul_fusion

Conversation

@MaheshRavishankar

Copy link
Copy Markdown
Collaborator

Since the fusion of Matmul with elementwise operations requires fusing more than 2 operations, this PR modifies the CPU and GPU side to not use patterns for the initial tile+distribute. Instead uses an "IR Rewrite approach" to tile+fuse+distribute.

  • Both the CPU and GPU pass pipeline use the same utility function. The different tiling schemes needed are coded into the LaunchConfig object configured differently on CPU and GPU
  • The dispatch region creation is modified to allow for fusing matmul with its consumers. This fusion is disabled by default, but can be enabled by iree-enable-matmul-fusion. The fullyconnected.mlir e2e/model test on LLVM backends passes with this flag enabled.

@antiagainst antiagainst 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.

Looks great! Thanks a ton Mahesh for making the code structure much better. In general LGTM. I just have various small issues inlined. I didn't look too closely into the LLVM part and flow dialect part, which I think others will weigh in. :)

@MaheshRavishankar MaheshRavishankar left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Thanks for the review!

Mahesh Ravishankar added 2 commits November 30, 2020 21:42
Linalg has gained ability to tile+fuse a sequence of Linalg
operations. Pulling that functionality into IREE to enable fusing
matmul, conv, etc with its consumers.

Also hits an issue of OpBuilder not having an erase method. An attempt
ws made in Patch D9110, but was abandonded. Revisit the issue.
Use tile+fuse on CPU side as well by modifying the CPU implementation
to match the GPU implementation. Main changes needed were to change
the LaunchConfig to be made independent of the target architecture.
@MaheshRavishankar
MaheshRavishankar force-pushed the matmul_fusion branch 3 times, most recently from 43ebbc4 to b222823 Compare December 1, 2020 05:59
To enable e2e execution of fusion of matmul with its produces on LLVM
and SPIR-V backends
- Modify dispatch region creation to allow fusing matmul with its
  consumers
- Modify Tensor to Buffer conversion to allocate intermediate storage
  which will eventually be removed when the ops are fused.
@MaheshRavishankar
MaheshRavishankar merged commit 35e837e into iree-org:main Dec 1, 2020
@MaheshRavishankar
MaheshRavishankar deleted the matmul_fusion branch December 1, 2020 07:16
This was referenced Dec 2, 2020
copybara-service Bot pushed a commit that referenced this pull request Dec 2, 2020
* abf5456 Merge google -> main (#4045)
* 1e4349e Merge branch 'main' into google-to-main
* 1f86f0e Add new tf.keras.applications models (#3958)
* 41004a9 [spirv] Add a better tiled and vectorized convolution path (#3990)
* c412944 Bump Tracy to get Ben's dynamic zone colors and to get past (#4042)
* 2a25f5f Remove input shape hack from kws tests (#3959)
* 359ffa0 Allow fusing batch_matmul and fill (#4038)
* 35e837e Merge pull request #4008 from MaheshRavishankar/matmul_fusion
* ffdd9d1 Enable e2e execution of fusion of matmul with producer.
* de116a0 Use tile+fuse on CPU side.
* caf91ac Use fusion of sequence of LinalgOps in IREE SPIR-V codegen path.
* 551f254 Add convert f32 to f16 pass (#4010)
* f1b1e58 Use vector transfer forwarding and dead store elimination in IREE (#4032)
* fac8fd1 Add file to track docker :prod digests (#3955)
* 37f0ae8 Tensorlist refactor to remove shape input and support empty reserve behavior (..
* 7585e53 Add relative_artifacts_dir (#3960)
* da53889 Use subprocess.run and types in manage_images.py (#3947)
* fbc63a4 Upgrade PR action to v3 (#3946)
* 83ea4a3 [llvm] Add a PlanConvLoopOrder pass (#3920)
* 1f1c70a Merge pull request #4012
* bab1468 Submodule fix
* bab0308 Merge branch 'main' into google-to-main
* 8df7e5c Sort add_subdirectory and remove todo given it's fixed now (#4029)
* 1bb131c Add missing mkdir to fix building and publishing documentation (#4030)
* 46949ba Fix VectorizeMemref out-of-bound access (#4031)
* b32de09 Update Linux docs to include an LLVM AOT example (#3165)
* 40da454 Update docs to recommend enabling/disabling assertions globally. (#4014)
* fc8da03 Update Tracy to get clean shutdown on Android (#4015)
* 12e20ef support running as root on android. (#4013)
* 1a4f469 Merge branch 'main' into google-to-main
* aff3e9c Add vectorization support for batch_matmul op (#3997)
* 33d4a6b Changing iree/base/math.h to C and adding some PRNG routines. (#4005)
* 73bdbe7 Fixup EmitC include directories (#3983)
* af7b4c3 Refactor finding python3 to use standard cmake find_package (#3778)
* f92602b Always emitting framepointers in generated ELFs (#3987)
* 89ef632 bump Tracy to get Android fixes (#3988)
* 7f989eb Disable MLIR crash reproducer on CI in python tests. (#3943)
* 4db3d08 Adding a demonstration of using the flow dialect post-partitioning. (#3701)
* 589dfa7 Remove no-longer-functional flag (#3961)
* 6454317 Fix MacOS builds after hack-and-slash PR (#3962)
* 8fb887e Update links to coverage tables (#3956)
* c93facb Adding iree_atomic_slist_t type. (#3917)
* bd082ca Merge pull request #3874 from google/benvanik-hack-and-slash
* f4f4ea2 Use UnitTestSpec in tf.keras.layers tests (#3935)
* 7b8e9f7 Reverting flatcc to use our own cmake file for cross-compilation.
* 323e1fd Simplify dylib driver switch.
* 55f3de0 Only register VMLA driver in bindings/java/.
* f429916 Fix warning flag on Windows and HAL CTS driver registration. (#3911)
* 7951e22 Drop IREE_DRIVER_MODULES and iree/base:initializer from ModelBuilder.
* 4e111e2 Disable layering_check in iree/hal/drivers/BUILD.
* 4773736 Add package to iree/base/testing/BUILD.
* 7ca321c Skipping dylib driver in simple_embedding_test as a hack.
* 692deb5 Overriding the default MLIR -> LLVM module name.
* 513f40e Speculative removing nowindows tags (#3615). If there's something that still d..
* cc47813 Removing the broken forward declarations entirely from some codegen code. http..
* fbcad44 Removing _GNU_SOURCE copt for wait_handle.
* c9b10a0 Fixing bad type in hal/api.h (been there for ages!).
* e0c532e Changing iree::InitializeEnvironment to iree_flags_parse. Preparation for #3814.
* 8886ac0 Removing iree_api_init from the API.
* 132d747 Removing ALWAYSLINK support from cmake.
* 0ed81f6 Removing iree/base/initializer.h.
* 0135343 Changing to an explicit driver registration mechanism. This is required for ha..
* bf091d3 Removing ALWAYSLINK support from external_cc_library.
* d4bb871 Changing iree-tblgen to not require alwayslink.
* 6bc6f90 Removing IREE_COMMON_INCLUDE_DIRS and uses by LLVM/MLIR.
* 3c082aa Removing IREE_COMMON_INCLUDE_DIRS mhlo pollution.
* 2395cb9 Removing emitc usage of IREE_COMMON_INCLUDE_DIRS for now.
* 036bd96 TODOs on future library layout changes.
* c3a13e6 Rearranging iree/vm/ to reduce a public + cc target.
* 493b0e2 Rearranging iree/base build rules. By moving the dynamic_library_test out of t..
* 8fd38bf Replacing uses of some absl utilities now in C++14.
* 6786319 Removing unused absl/types/variant.h include.
* 99bd1af Replace absl::exchange with iree::exchange to reduce absl/utility dep.
* c1d0ee1 Removing unused PLATFORM_VULKAN_DEPS. It may be needed internally but it shoul..
* 15437f4 Simplifying iree/hal/dylib/ build config.
* e6984a5 Simplifying iree/hal/ build config.
* 1006281 Simplifying iree/hal/vulkan/ build config.
* 827e51b Simplifying iree/hal/llvmjit/ build config.
* 9a72f5d Simplifying iree/hal/metal/ build config.
* c7a7d72 Simplifying iree/hal/vmla/ build config.
* 90faf21 Adding IREE_TARGET_GUI_LINKOPTS to remove custom linkopts use.
* e5774c3 Remove unused args from flatbuffers_c_library macro.
* 22d16b4 Adding iree/base/flatcc.h to make flatcc easier to include.
* e44dee5 Switching from -DVK_NO_PROTOTYPES to iree/hal/vulkan/vulkan_headers.h.
* 48ca2fe Removing build-config setting of _GNU_SOURCE.
* eeb7dde Goodbye flatbuffers (well, the C++ ones anyway).
* 9c676a8 Removing all build config/utils related to flatbuffers.
* 49c6121 byte->ubyte in flatbuffer defs.
* c99000a Replacing compiler use of VM bytecode module def flatbuffers->flatcc.
* 1bf1e8d Replacing runtime use of metal executable flatbuffers->flatcc. Maybe it works?..
* 48aafb8 Replacing runtime use of spirv executable flatbuffers->flatcc.
* 011e9a2 Replacing runtime use of llvmjit executable flatbuffers->flatcc.
* a021062 Replacing runtime use of dylib executable flatbuffers->flatcc.
* 53a05d7 Replacing runtime use of VMLA executable flatbuffers->flatc.
* 99d30a9 Replacing compiler use of HAL executable flatbuffers->flatc.
* 6ebd1b0 Removing unused tag field in metal/spirv.
* bc685ed Adding flatcc json support and making iree-dump-module use it.
* 94b11c3 Adding include for flatcc to flat_c_libraries.
* 1172cf1 Removing unused iree::schemas::reflection_data.
* c86281a Removing unneeded flatbuffers copts.
* 7f3a7e3 Fixing various type warnings. We don't today have these warnings enabled in ou..
* c17659f Refining MSVC warning set to the minimum required and documenting.
* b7c92bf Cleaning up MSVC warnings and syncing with bazel warnings.
* 94356d3 Removing legacy repo_utils.bzl.
* 0f0d9c8 Prevent bazel-to-cmake from running on iree/base/CMakeLists.txt for now.
* 36225a4 Centralizing -ldl/-lpthread linkopts (as they were in bazel already).
* 31c4dbb Documenting iree_copts with a nice big warning.
* e4740a5 Pass android libraries as actual linkopts.
* 85cdd86 Fixing cmake style issues - prefer `if(` not `if (` please.
* bf4069e Sorting copts/linkopts so we can override things.
* 28040cd Simplifying VMA build integration.
* 479ef30 Replacing use of PROJECT_SOURCE_DIR/PROJECT_BINARY_DIR. Those use the previous..

COPYBARA_INTEGRATE_REVIEW=#4048 from ScottTodd:main-to-google abf5456
PiperOrigin-RevId: 345252359
ScottTodd added a commit that referenced this pull request Dec 2, 2020
* abf5456 Merge google -> main (#4045)
* 1e4349e Merge branch 'main' into google-to-main
* 1f86f0e Add new tf.keras.applications models (#3958)
* 41004a9 [spirv] Add a better tiled and vectorized convolution path (#3990)
* c412944 Bump Tracy to get Ben's dynamic zone colors and to get past (#4042)
* 2a25f5f Remove input shape hack from kws tests (#3959)
* 359ffa0 Allow fusing batch_matmul and fill (#4038)
* 35e837e Merge pull request #4008 from MaheshRavishankar/matmul_fusion
* ffdd9d1 Enable e2e execution of fusion of matmul with producer.
* de116a0 Use tile+fuse on CPU side.
* caf91ac Use fusion of sequence of LinalgOps in IREE SPIR-V codegen path.
* 551f254 Add convert f32 to f16 pass (#4010)
* f1b1e58 Use vector transfer forwarding and dead store elimination in IREE (#4032)
* fac8fd1 Add file to track docker :prod digests (#3955)
* 37f0ae8 Tensorlist refactor to remove shape input and support empty reserve behavior (..
* 7585e53 Add relative_artifacts_dir (#3960)
* da53889 Use subprocess.run and types in manage_images.py (#3947)
* fbc63a4 Upgrade PR action to v3 (#3946)
* 83ea4a3 [llvm] Add a PlanConvLoopOrder pass (#3920)
* 1f1c70a Merge pull request #4012
* bab1468 Submodule fix
* bab0308 Merge branch 'main' into google-to-main
* 8df7e5c Sort add_subdirectory and remove todo given it's fixed now (#4029)
* 1bb131c Add missing mkdir to fix building and publishing documentation (#4030)
* 46949ba Fix VectorizeMemref out-of-bound access (#4031)
* b32de09 Update Linux docs to include an LLVM AOT example (#3165)
* 40da454 Update docs to recommend enabling/disabling assertions globally. (#4014)
* fc8da03 Update Tracy to get clean shutdown on Android (#4015)
* 12e20ef support running as root on android. (#4013)
* 1a4f469 Merge branch 'main' into google-to-main
* aff3e9c Add vectorization support for batch_matmul op (#3997)
* 33d4a6b Changing iree/base/math.h to C and adding some PRNG routines. (#4005)
* 73bdbe7 Fixup EmitC include directories (#3983)
* af7b4c3 Refactor finding python3 to use standard cmake find_package (#3778)
* f92602b Always emitting framepointers in generated ELFs (#3987)
* 89ef632 bump Tracy to get Android fixes (#3988)
* 7f989eb Disable MLIR crash reproducer on CI in python tests. (#3943)
* 4db3d08 Adding a demonstration of using the flow dialect post-partitioning. (#3701)
* 589dfa7 Remove no-longer-functional flag (#3961)
* 6454317 Fix MacOS builds after hack-and-slash PR (#3962)
* 8fb887e Update links to coverage tables (#3956)
* c93facb Adding iree_atomic_slist_t type. (#3917)
* bd082ca Merge pull request #3874 from google/benvanik-hack-and-slash
* f4f4ea2 Use UnitTestSpec in tf.keras.layers tests (#3935)
* 7b8e9f7 Reverting flatcc to use our own cmake file for cross-compilation.
* 323e1fd Simplify dylib driver switch.
* 55f3de0 Only register VMLA driver in bindings/java/.
* f429916 Fix warning flag on Windows and HAL CTS driver registration. (#3911)
* 7951e22 Drop IREE_DRIVER_MODULES and iree/base:initializer from ModelBuilder.
* 4e111e2 Disable layering_check in iree/hal/drivers/BUILD.
* 4773736 Add package to iree/base/testing/BUILD.
* 7ca321c Skipping dylib driver in simple_embedding_test as a hack.
* 692deb5 Overriding the default MLIR -> LLVM module name.
* 513f40e Speculative removing nowindows tags (#3615). If there's something that still d..
* cc47813 Removing the broken forward declarations entirely from some codegen code. http..
* fbcad44 Removing _GNU_SOURCE copt for wait_handle.
* c9b10a0 Fixing bad type in hal/api.h (been there for ages!).
* e0c532e Changing iree::InitializeEnvironment to iree_flags_parse. Preparation for #3814.
* 8886ac0 Removing iree_api_init from the API.
* 132d747 Removing ALWAYSLINK support from cmake.
* 0ed81f6 Removing iree/base/initializer.h.
* 0135343 Changing to an explicit driver registration mechanism. This is required for ha..
* bf091d3 Removing ALWAYSLINK support from external_cc_library.
* d4bb871 Changing iree-tblgen to not require alwayslink.
* 6bc6f90 Removing IREE_COMMON_INCLUDE_DIRS and uses by LLVM/MLIR.
* 3c082aa Removing IREE_COMMON_INCLUDE_DIRS mhlo pollution.
* 2395cb9 Removing emitc usage of IREE_COMMON_INCLUDE_DIRS for now.
* 036bd96 TODOs on future library layout changes.
* c3a13e6 Rearranging iree/vm/ to reduce a public + cc target.
* 493b0e2 Rearranging iree/base build rules. By moving the dynamic_library_test out of t..
* 8fd38bf Replacing uses of some absl utilities now in C++14.
* 6786319 Removing unused absl/types/variant.h include.
* 99bd1af Replace absl::exchange with iree::exchange to reduce absl/utility dep.
* c1d0ee1 Removing unused PLATFORM_VULKAN_DEPS. It may be needed internally but it shoul..
* 15437f4 Simplifying iree/hal/dylib/ build config.
* e6984a5 Simplifying iree/hal/ build config.
* 1006281 Simplifying iree/hal/vulkan/ build config.
* 827e51b Simplifying iree/hal/llvmjit/ build config.
* 9a72f5d Simplifying iree/hal/metal/ build config.
* c7a7d72 Simplifying iree/hal/vmla/ build config.
* 90faf21 Adding IREE_TARGET_GUI_LINKOPTS to remove custom linkopts use.
* e5774c3 Remove unused args from flatbuffers_c_library macro.
* 22d16b4 Adding iree/base/flatcc.h to make flatcc easier to include.
* e44dee5 Switching from -DVK_NO_PROTOTYPES to iree/hal/vulkan/vulkan_headers.h.
* 48ca2fe Removing build-config setting of _GNU_SOURCE.
* eeb7dde Goodbye flatbuffers (well, the C++ ones anyway).
* 9c676a8 Removing all build config/utils related to flatbuffers.
* 49c6121 byte->ubyte in flatbuffer defs.
* c99000a Replacing compiler use of VM bytecode module def flatbuffers->flatcc.
* 1bf1e8d Replacing runtime use of metal executable flatbuffers->flatcc. Maybe it works?..
* 48aafb8 Replacing runtime use of spirv executable flatbuffers->flatcc.
* 011e9a2 Replacing runtime use of llvmjit executable flatbuffers->flatcc.
* a021062 Replacing runtime use of dylib executable flatbuffers->flatcc.
* 53a05d7 Replacing runtime use of VMLA executable flatbuffers->flatc.
* 99d30a9 Replacing compiler use of HAL executable flatbuffers->flatc.
* 6ebd1b0 Removing unused tag field in metal/spirv.
* bc685ed Adding flatcc json support and making iree-dump-module use it.
* 94b11c3 Adding include for flatcc to flat_c_libraries.
* 1172cf1 Removing unused iree::schemas::reflection_data.
* c86281a Removing unneeded flatbuffers copts.
* 7f3a7e3 Fixing various type warnings. We don't today have these warnings enabled in ou..
* c17659f Refining MSVC warning set to the minimum required and documenting.
* b7c92bf Cleaning up MSVC warnings and syncing with bazel warnings.
* 94356d3 Removing legacy repo_utils.bzl.
* 0f0d9c8 Prevent bazel-to-cmake from running on iree/base/CMakeLists.txt for now.
* 36225a4 Centralizing -ldl/-lpthread linkopts (as they were in bazel already).
* 31c4dbb Documenting iree_copts with a nice big warning.
* e4740a5 Pass android libraries as actual linkopts.
* 85cdd86 Fixing cmake style issues - prefer `if(` not `if (` please.
* bf4069e Sorting copts/linkopts so we can override things.
* 28040cd Simplifying VMA build integration.
* 479ef30 Replacing use of PROJECT_SOURCE_DIR/PROJECT_BINARY_DIR. Those use the previous..

COPYBARA_INTEGRATE_REVIEW=#4048 from ScottTodd:main-to-google abf5456
PiperOrigin-RevId: 345252359
@ScottTodd ScottTodd mentioned this pull request Dec 2, 2020
@ScottTodd ScottTodd mentioned this pull request Dec 2, 2020
GMNGeoffrey added a commit that referenced this pull request Dec 2, 2020
* abf5456 Merge google -> main (#4045)
* 1e4349e Merge branch 'main' into google-to-main
* 1f86f0e Add new tf.keras.applications models (#3958)
* 41004a9 [spirv] Add a better tiled and vectorized convolution path (#3990)
* c412944 Bump Tracy to get Ben's dynamic zone colors and to get past (#4042)
* 2a25f5f Remove input shape hack from kws tests (#3959)
* 359ffa0 Allow fusing batch_matmul and fill (#4038)
* 35e837e Merge pull request #4008 from MaheshRavishankar/matmul_fusion
* ffdd9d1 Enable e2e execution of fusion of matmul with producer.
* de116a0 Use tile+fuse on CPU side.
* caf91ac Use fusion of sequence of LinalgOps in IREE SPIR-V codegen path.
* 551f254 Add convert f32 to f16 pass (#4010)
* f1b1e58 Use vector transfer forwarding and dead store elimination in IREE (#4032)
* fac8fd1 Add file to track docker :prod digests (#3955)
* 37f0ae8 Tensorlist refactor to remove shape input and support empty reserve behavior (..
* 7585e53 Add relative_artifacts_dir (#3960)
* da53889 Use subprocess.run and types in manage_images.py (#3947)
* fbc63a4 Upgrade PR action to v3 (#3946)
* 83ea4a3 [llvm] Add a PlanConvLoopOrder pass (#3920)
* 1f1c70a Merge pull request #4012
* bab1468 Submodule fix
* bab0308 Merge branch 'main' into google-to-main
* 8df7e5c Sort add_subdirectory and remove todo given it's fixed now (#4029)
* 1bb131c Add missing mkdir to fix building and publishing documentation (#4030)
* 46949ba Fix VectorizeMemref out-of-bound access (#4031)
* b32de09 Update Linux docs to include an LLVM AOT example (#3165)
* 40da454 Update docs to recommend enabling/disabling assertions globally. (#4014)
* fc8da03 Update Tracy to get clean shutdown on Android (#4015)
* 12e20ef support running as root on android. (#4013)
* 1a4f469 Merge branch 'main' into google-to-main
* aff3e9c Add vectorization support for batch_matmul op (#3997)
* 33d4a6b Changing iree/base/math.h to C and adding some PRNG routines. (#4005)
* 73bdbe7 Fixup EmitC include directories (#3983)
* af7b4c3 Refactor finding python3 to use standard cmake find_package (#3778)
* f92602b Always emitting framepointers in generated ELFs (#3987)
* 89ef632 bump Tracy to get Android fixes (#3988)
* 7f989eb Disable MLIR crash reproducer on CI in python tests. (#3943)
* 4db3d08 Adding a demonstration of using the flow dialect post-partitioning. (#3701)
* 589dfa7 Remove no-longer-functional flag (#3961)
* 6454317 Fix MacOS builds after hack-and-slash PR (#3962)
* 8fb887e Update links to coverage tables (#3956)
* c93facb Adding iree_atomic_slist_t type. (#3917)
* bd082ca Merge pull request #3874 from google/benvanik-hack-and-slash
* f4f4ea2 Use UnitTestSpec in tf.keras.layers tests (#3935)
* 7b8e9f7 Reverting flatcc to use our own cmake file for cross-compilation.
* 323e1fd Simplify dylib driver switch.
* 55f3de0 Only register VMLA driver in bindings/java/.
* f429916 Fix warning flag on Windows and HAL CTS driver registration. (#3911)
* 7951e22 Drop IREE_DRIVER_MODULES and iree/base:initializer from ModelBuilder.
* 4e111e2 Disable layering_check in iree/hal/drivers/BUILD.
* 4773736 Add package to iree/base/testing/BUILD.
* 7ca321c Skipping dylib driver in simple_embedding_test as a hack.
* 692deb5 Overriding the default MLIR -> LLVM module name.
* 513f40e Speculative removing nowindows tags (#3615). If there's something that still d..
* cc47813 Removing the broken forward declarations entirely from some codegen code. http..
* fbcad44 Removing _GNU_SOURCE copt for wait_handle.
* c9b10a0 Fixing bad type in hal/api.h (been there for ages!).
* e0c532e Changing iree::InitializeEnvironment to iree_flags_parse. Preparation for #3814.
* 8886ac0 Removing iree_api_init from the API.
* 132d747 Removing ALWAYSLINK support from cmake.
* 0ed81f6 Removing iree/base/initializer.h.
* 0135343 Changing to an explicit driver registration mechanism. This is required for ha..
* bf091d3 Removing ALWAYSLINK support from external_cc_library.
* d4bb871 Changing iree-tblgen to not require alwayslink.
* 6bc6f90 Removing IREE_COMMON_INCLUDE_DIRS and uses by LLVM/MLIR.
* 3c082aa Removing IREE_COMMON_INCLUDE_DIRS mhlo pollution.
* 2395cb9 Removing emitc usage of IREE_COMMON_INCLUDE_DIRS for now.
* 036bd96 TODOs on future library layout changes.
* c3a13e6 Rearranging iree/vm/ to reduce a public + cc target.
* 493b0e2 Rearranging iree/base build rules. By moving the dynamic_library_test out of t..
* 8fd38bf Replacing uses of some absl utilities now in C++14.
* 6786319 Removing unused absl/types/variant.h include.
* 99bd1af Replace absl::exchange with iree::exchange to reduce absl/utility dep.
* c1d0ee1 Removing unused PLATFORM_VULKAN_DEPS. It may be needed internally but it shoul..
* 15437f4 Simplifying iree/hal/dylib/ build config.
* e6984a5 Simplifying iree/hal/ build config.
* 1006281 Simplifying iree/hal/vulkan/ build config.
* 827e51b Simplifying iree/hal/llvmjit/ build config.
* 9a72f5d Simplifying iree/hal/metal/ build config.
* c7a7d72 Simplifying iree/hal/vmla/ build config.
* 90faf21 Adding IREE_TARGET_GUI_LINKOPTS to remove custom linkopts use.
* e5774c3 Remove unused args from flatbuffers_c_library macro.
* 22d16b4 Adding iree/base/flatcc.h to make flatcc easier to include.
* e44dee5 Switching from -DVK_NO_PROTOTYPES to iree/hal/vulkan/vulkan_headers.h.
* 48ca2fe Removing build-config setting of _GNU_SOURCE.
* eeb7dde Goodbye flatbuffers (well, the C++ ones anyway).
* 9c676a8 Removing all build config/utils related to flatbuffers.
* 49c6121 byte->ubyte in flatbuffer defs.
* c99000a Replacing compiler use of VM bytecode module def flatbuffers->flatcc.
* 1bf1e8d Replacing runtime use of metal executable flatbuffers->flatcc. Maybe it works?..
* 48aafb8 Replacing runtime use of spirv executable flatbuffers->flatcc.
* 011e9a2 Replacing runtime use of llvmjit executable flatbuffers->flatcc.
* a021062 Replacing runtime use of dylib executable flatbuffers->flatcc.
* 53a05d7 Replacing runtime use of VMLA executable flatbuffers->flatc.
* 99d30a9 Replacing compiler use of HAL executable flatbuffers->flatc.
* 6ebd1b0 Removing unused tag field in metal/spirv.
* bc685ed Adding flatcc json support and making iree-dump-module use it.
* 94b11c3 Adding include for flatcc to flat_c_libraries.
* 1172cf1 Removing unused iree::schemas::reflection_data.
* c86281a Removing unneeded flatbuffers copts.
* 7f3a7e3 Fixing various type warnings. We don't today have these warnings enabled in ou..
* c17659f Refining MSVC warning set to the minimum required and documenting.
* b7c92bf Cleaning up MSVC warnings and syncing with bazel warnings.
* 94356d3 Removing legacy repo_utils.bzl.
* 0f0d9c8 Prevent bazel-to-cmake from running on iree/base/CMakeLists.txt for now.
* 36225a4 Centralizing -ldl/-lpthread linkopts (as they were in bazel already).
* 31c4dbb Documenting iree_copts with a nice big warning.
* e4740a5 Pass android libraries as actual linkopts.
* 85cdd86 Fixing cmake style issues - prefer `if(` not `if (` please.
* bf4069e Sorting copts/linkopts so we can override things.
* 28040cd Simplifying VMA build integration.
* 479ef30 Replacing use of PROJECT_SOURCE_DIR/PROJECT_BINARY_DIR. Those use the previous..

PiperOrigin-RevId: 345252359
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.

3 participants