Skip to content

Adding a demonstration of using the flow dialect post-partitioning. - #3701

Merged
benvanik merged 1 commit into
mainfrom
benvanik-flow-test
Nov 22, 2020
Merged

benvanik merged 1 commit into
mainfrom
benvanik-flow-test

Conversation

@benvanik

@benvanik benvanik commented Nov 3, 2020 •

Copy link
Copy Markdown
Collaborator

Demonstration of adding arbitrary tensor ops to a flow.executable and how to call them.

Viewing the LLVM-IR output can be done with the following:

iree-opt -split-input-file -pass-pipeline=iree-flow-transformation-pipeline,iree-hal-transformation-pipeline{serialize-executables=false},canonicalize -iree-hal-target-backends=llvm-ir iree/test/e2e/hackability/flow_partitioned.mlir

Example output:

module {
  hal.variable @_device_match_id_0 init(@_device_match_id_0_initializer) : i1 attributes {sym_visibility = "private"}
  func @_device_match_id_0_initializer() -> i1 attributes {sym_visibility = "private"} {
    %dev = hal.ex.shared_device : !hal.device
    %0 = hal.device.match.id %dev, pattern = ["llvm-ir*"] : (!hal.device) -> i1
    return %0 : i1
  }
  hal.variable @"_executable_flow_partitioned-linked-llvm_ir" mutable : !hal.executable attributes {sym_visibility = "private"}
  hal.variable @_descriptor_set_layout_0 init(@_descriptor_set_layout_0_initializer) : !hal.descriptor_set_layout attributes {sym_visibility = "private"}
  func @_descriptor_set_layout_0_initializer() -> !hal.descriptor_set_layout attributes {sym_visibility = "private"} {
    %dev = hal.ex.shared_device : !hal.device
    %descriptor_set_layout = hal.descriptor_set_layout.create %dev, "PushOnly", bindings = [#hal.descriptor_set_layout_binding<0, "StorageBuffer", "Read">, #hal.descriptor_set_layout_binding<1, "StorageBuffer", "Write|Discard">] : !hal.descriptor_set_layout
    return %descriptor_set_layout : !hal.descriptor_set_layout
  }
  hal.variable @_executable_layout_0 init(@_executable_layout_0_initializer) : !hal.executable_layout attributes {sym_visibility = "private"}
  func @_executable_layout_0_initializer() -> !hal.executable_layout attributes {sym_visibility = "private"} {
    %0 = hal.variable.load @_descriptor_set_layout_0 : !hal.descriptor_set_layout
    %dev = hal.ex.shared_device : !hal.device
    %executable_layout = hal.executable_layout.create %dev, set_layouts = [%0], push_constants = 0 : !hal.executable_layout
    return %executable_layout : !hal.executable_layout
  }
  hal.variable @_executable_cache init(@_executable_cache_initializer) : !hal.executable_cache
  func @_executable_cache_initializer() -> !hal.executable_cache attributes {sym_visibility = "private"} {
    %dev = hal.ex.shared_device : !hal.device
    %executable_cache_default = hal.executable_cache.create %dev, identifier = "default" : !hal.executable_cache
    %0 = hal.variable.load @_device_match_id_0 : i1
    cond_br %0, ^bb1, ^bb2
  ^bb1:  // pred: ^bb0
    %1 = hal.variable.load @_executable_layout_0 : !hal.executable_layout
    %executable_flow_partitioned-linked-llvm_ir = hal.executable_cache.prepare %executable_cache_default, layout = %1, caching_mode = "AliasProvidedData|AllowPersistentCaching|AllowOptimization", @"flow_partitioned-linked-llvm_ir" : !hal.executable
    hal.variable.store %executable_flow_partitioned-linked-llvm_ir, @"_executable_flow_partitioned-linked-llvm_ir" : !hal.executable
    return %executable_cache_default : !hal.executable_cache
  ^bb2:  // pred: ^bb0
    iree.unreachable
  }
  hal.executable @"flow_partitioned-linked-llvm_ir" attributes {sym_visibility = "private"} {
    hal.interface @legacy_io_0 {
      hal.interface.binding @arg0, set=0, binding=0, type="StorageBuffer", access="Read"
      hal.interface.binding @ret0, set=0, binding=1, type="StorageBuffer", access="Write|Discard"
    }
    hal.executable.target @llvm_ir, filter="llvm-ir*" {
      hal.executable.entry_point @dispatch0 attributes {interface = @legacy_io_0, ordinal = 0 : i32, signature = (tensor<4xf32>) -> tensor<4xf32>}
      module {
        llvm.func @dispatch0(%arg0: !llvm.ptr<ptr<i8>>, %arg1: !llvm.ptr<i32>) {
          %0 = llvm.bitcast %arg0 : !llvm.ptr<ptr<i8>> to !llvm.ptr<struct<(ptr<float>, ptr<float>)>>
          %1 = llvm.load %0 : !llvm.ptr<struct<(ptr<float>, ptr<float>)>>
          %2 = llvm.extractvalue %1[0] : !llvm.struct<(ptr<float>, ptr<float>)>
          %3 = llvm.mlir.undef : !llvm.struct<(ptr<float>, ptr<float>, i64, array<1 x i64>, array<1 x i64>)>
          %4 = llvm.insertvalue %2, %3[0] : !llvm.struct<(ptr<float>, ptr<float>, i64, array<1 x i64>, array<1 x i64>)>
          %5 = llvm.insertvalue %2, %4[1] : !llvm.struct<(ptr<float>, ptr<float>, i64, array<1 x i64>, array<1 x i64>)>
          %6 = llvm.mlir.constant(0 : index) : !llvm.i64
          %7 = llvm.insertvalue %6, %5[2] : !llvm.struct<(ptr<float>, ptr<float>, i64, array<1 x i64>, array<1 x i64>)>
          %8 = llvm.mlir.constant(4 : index) : !llvm.i64
          %9 = llvm.insertvalue %8, %7[3, 0] : !llvm.struct<(ptr<float>, ptr<float>, i64, array<1 x i64>, array<1 x i64>)>
          %10 = llvm.mlir.constant(1 : index) : !llvm.i64
          %11 = llvm.insertvalue %10, %9[4, 0] : !llvm.struct<(ptr<float>, ptr<float>, i64, array<1 x i64>, array<1 x i64>)>
          %12 = llvm.extractvalue %1[1] : !llvm.struct<(ptr<float>, ptr<float>)>
          %13 = llvm.insertvalue %12, %3[0] : !llvm.struct<(ptr<float>, ptr<float>, i64, array<1 x i64>, array<1 x i64>)>
          %14 = llvm.insertvalue %12, %13[1] : !llvm.struct<(ptr<float>, ptr<float>, i64, array<1 x i64>, array<1 x i64>)>
          %15 = llvm.insertvalue %6, %14[2] : !llvm.struct<(ptr<float>, ptr<float>, i64, array<1 x i64>, array<1 x i64>)>
          %16 = llvm.insertvalue %8, %15[3, 0] : !llvm.struct<(ptr<float>, ptr<float>, i64, array<1 x i64>, array<1 x i64>)>
          %17 = llvm.insertvalue %10, %16[4, 0] : !llvm.struct<(ptr<float>, ptr<float>, i64, array<1 x i64>, array<1 x i64>)>
          llvm.br ^bb1(%6 : !llvm.i64)
        ^bb1(%18: !llvm.i64):  // 2 preds: ^bb0, ^bb2
          %19 = llvm.icmp "slt" %18, %8 : !llvm.i64
          llvm.cond_br %19, ^bb2, ^bb3
        ^bb2:  // pred: ^bb1
          %20 = llvm.extractvalue %11[1] : !llvm.struct<(ptr<float>, ptr<float>, i64, array<1 x i64>, array<1 x i64>)>
          %21 = llvm.mul %18, %10 : !llvm.i64
          %22 = llvm.add %6, %21 : !llvm.i64
          %23 = llvm.getelementptr %20[%22] : (!llvm.ptr<float>, !llvm.i64) -> !llvm.ptr<float>
          %24 = llvm.load %23 : !llvm.ptr<float>
          %25 = llvm.load %23 : !llvm.ptr<float>
          %26 = llvm.fadd %24, %25 : !llvm.float
          %27 = llvm.extractvalue %17[1] : !llvm.struct<(ptr<float>, ptr<float>, i64, array<1 x i64>, array<1 x i64>)>
          %28 = llvm.getelementptr %27[%22] : (!llvm.ptr<float>, !llvm.i64) -> !llvm.ptr<float>
          llvm.store %26, %28 : !llvm.ptr<float>
          %29 = llvm.add %18, %10 : !llvm.i64
          llvm.br ^bb1(%29 : !llvm.i64)
        ^bb3:  // pred: ^bb1
          llvm.return
        }
      }
    }
  }
  func @staticShapedFn() -> !hal.buffer {
    %c-1 = constant -1 : index
    %c0 = constant 0 : index
    %c16 = constant 16 : index
    %c1 = constant 1 : index
    %dev = hal.ex.shared_device : !hal.device
    %allocator = hal.device.allocator %dev : !hal.allocator
    %0 = iree.byte_buffer.constant : !iree.byte_buffer = dense<[-1.000000e+00, 2.000000e+00, -3.000000e+00, 4.000000e+00]> : tensor<4xf32>
    %mapped = hal.allocator.map %allocator, "HostVisible|DeviceVisible|DeviceLocal", "Constant|Transfer|Mapping|Dispatch", %0[%c0, %c-1] : !iree.byte_buffer -> !hal.buffer
    %1 = iree.do_not_optimize(%mapped) : !hal.buffer
    %buffer = hal.allocator.allocate %allocator, "HostVisible|DeviceVisible|DeviceLocal", "Constant|Transfer|Mapping|Dispatch", %c16 : !hal.buffer
    %cmd = hal.command_buffer.create %dev, "OneShot", "Transfer|Dispatch" : !hal.command_buffer
    hal.command_buffer.begin %cmd
    %2 = hal.variable.load @_executable_layout_0 : !hal.executable_layout
    hal.command_buffer.push_descriptor_set %cmd, %2, set=0, bindings=[0 = (%1, %c0, %c16), 1 = (%buffer, %c0, %c16)]
    %3 = hal.variable.load @_device_match_id_0 : i1
    cond_br %3, ^bb1, ^bb2
  ^bb1:  // pred: ^bb0
    %4 = hal.variable.load @"_executable_flow_partitioned-linked-llvm_ir" : !hal.executable
    hal.command_buffer.dispatch %cmd, %4, entry_point = 0, workgroup_xyz = [%c1, %c1, %c1]
    %memory_barrier = hal.make_memory_barrier "DispatchWrite", "DispatchRead" : tuple<i32, i32>
    hal.command_buffer.execution_barrier %cmd, "Dispatch|CommandRetire", "CommandIssue|Dispatch", memory_barriers=[%memory_barrier]
    hal.command_buffer.end %cmd
    hal.ex.submit_and_wait %dev, %cmd
    return %buffer : !hal.buffer
  ^bb2:  // pred: ^bb0
    iree.unreachable
  }
}

To compile and run in one step:

iree-run-mlir -export-all -iree-hal-target-backends=llvm-ir iree/test/e2e/hackability/flow_partitioned.mlir

@google-cla google-cla Bot added the cla: yes label Nov 3, 2020
@benvanik benvanik added compiler/dialects Relating to the IREE compiler dialects (flow, hal, vm) and removed cla: yes labels Nov 3, 2020
@benvanik benvanik added this to the 2020Q4 Core milestone Nov 3, 2020
@google-cla google-cla Bot added the cla: yes label Nov 3, 2020
@benvanik
benvanik marked this pull request as ready for review November 3, 2020 19:05
@benvanik
benvanik requested a review from antiagainst November 3, 2020 19:05
@benvanik
benvanik merged commit 4db3d08 into main Nov 22, 2020
@benvanik
benvanik deleted the benvanik-flow-test branch November 22, 2020 05:49
This was referenced Nov 23, 2020
@hanhanW

hanhanW commented Nov 30, 2020

Copy link
Copy Markdown
Contributor

This is cool! I had a simpler stuff in https://github.com/google/iree/tree/main/iree/test/e2e/structural

Mine can only handle easy cases like putting all the ops into a dispatch function, but yours is more general. :D

iree-copybara-bot pushed a commit that referenced this pull request Nov 30, 2020
* 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=#4002 from rsuderman:main-to-google 4ef8891
PiperOrigin-RevId: 344157809
ScottTodd added a commit that referenced this pull request Dec 1, 2020
* 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=#4002 from rsuderman:main-to-google 4ef8891
PiperOrigin-RevId: 344157809
ScottTodd added a commit that referenced this pull request Dec 1, 2020
* 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: 344157809
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
This was referenced 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

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants