1. 22 Jun, 2022 1 commit
  2. 29 Apr, 2021 1 commit
    • SJW's avatar
      MLIR MIOpen Dialect integration (phase 1) (#768) (#769) · 56584fa2
      SJW authored
      
      
      * MLIR MIOpen Dialect integration (phase 1) (#768)
      
      * Added Findmlir.cmake (using environment variables to import)
      
      * Added mlir_conv pass to GPU target
      
        * Apply to any gpu::convolution if supported by MLIR
      
        * Call MLIR C-API to generate iGEMM kernel with configuration from gpu::convolution
      
        * Capture binary in dictionary for matching convolutions
      
        * Build a code_object_op with the binary and execution dimensions
      
        * Substitute for the gpu::convolution
      
      * Changed the parameters for the code_object to reflect the generated MLIR kernel
      
      * Expanded out MemRefDescriptor fields in param list
      
      * Also updated for MLIR C-API changes
      
      * * fixed global_size calculation
      
      * MLIR MIOpen Dialect integration (phase 1) (#768)
      
      * Added Findmlir.cmake (using environment variables to import)
      
      * Added mlir_conv pass to GPU target
      
        * Apply to any gpu::convolution if supported by MLIR
      
        * Call MLIR C-API to generate iGEMM kernel with configuration from gpu::convolution
      
        * Capture binary in dictionary for matching convolutions
      
        * Build a code_object_op with the binary and execution dimensions
      
        * Substitute for the gpu::convolution
      
      * Changed the parameters for the code_object to reflect the generated MLIR kernel
      
      * Expanded out MemRefDescriptor fields in param list
      
      * Also updated for MLIR C-API changes
      
      * * Added command line option: --enable_mlir
      
      * * fixed command line switch
      
      * updated for new MLIR API changes
      
      * * Added cget llvm-project-mlir to import MIIR API libraries into Dockerfile
        * removed cmake Findmlir
      
      * updated for changes in MIIR C-API
      
      * * updated CMakeLists.txt to allow disable of MLIR import
      
      * fixed memory leaks and removed copies
      
      * updated for 5D memrefs
      
      * * formatting
      
      * * fixed review comments
      
      * * fixed merge issues
      
      * hip gcnDeviceName now includes specifiers at the end
        * use major/minor values instead
      
      * * disable MLIR by default
      
      * * removed command-line switch --enable-mlir
      
      * * fix unused when MLIR disabled
      
      * * enable jenkins enable/test MLIR
      
      * * format
      
      * * fixed clang-tidy
      
      * * added new type
      Co-authored-by: default avatarPaul Fultz II <pfultz2@yahoo.com>
      Co-authored-by: default avatarmvermeulen <5479696+mvermeulen@users.noreply.github.com>
      56584fa2