- 09 Nov, 2023 1 commit
-
-
Krzysztof Drewniak authored
This is a companion PR to https://github.com/ROCmSoftwarePlatform/rocMLIR/pull/1312 . The updated commit hash points onto that PR branch, so coordinated merges are advised. With the above rocMLIR changes, the MLIR MIGraphX dialect now represents both the dimensions and strides of tensors inside MLIR, thus allowing NHWC convolutions to be correctly offloaded. In this PR, we: - Remove special handling for the case where non-standard shapes become input to MLIR modules - Fold broadcast and multibroadcast operations into the input size od MLIR modules - Update tests - Add an extra TRACE_MLIR print to help debug crashes in the high-level pipeline
-
- 06 Oct, 2023 1 commit
-
-
Krzysztof Drewniak authored
-
- 27 Sep, 2023 2 commits
-
-
ravil-mobile authored
-
Krzysztof Drewniak authored
Add mlir_logger, which registers a MLIR diagnostic handler that captures any information generated by a MLIR compile and saves it to a string. This will be useful during tuning, where some such errors may be the result of an inapplicable tuning configuration and should be suppressed.
-
- 16 Sep, 2023 1 commit
-
-
Paul Fultz II authored
-
- 11 Sep, 2023 1 commit
-
-
Paul Fultz II authored
-
- 08 Sep, 2023 1 commit
-
-
ravil-mobile authored
-
- 05 Sep, 2023 1 commit
-
-
ravil-mobile authored
-
- 31 Aug, 2023 1 commit
-
-
Paul Fultz II authored
-
- 11 Aug, 2023 1 commit
-
-
Paul Fultz II authored
-
- 10 Aug, 2023 1 commit
-
-
Krzysztof Drewniak authored
This PR constitutes the MIGraphX-side changes needed to not break the build in the presence of ROCmSoftwarePlatform/rocMLIR#1136 , and updates what data is sent in to MLIR during the kernel generation and tuning process.
-
- 08 Aug, 2023 1 commit
-
-
Paul Fultz II authored
-
- 06 Aug, 2023 1 commit
-
-
Paul Fultz II authored
-
- 30 Jul, 2023 1 commit
-
-
Paul Fultz II authored
* Add initial tuning support * Format * Add extra param * Format * Use exauhstive flag * Format * Set expected shapes * Format * Format * Fix missing symbol * Format * Add missing license header * Format * Update src/targets/gpu/include/migraphx/gpu/mlir.hpp
-
- 17 Jul, 2023 1 commit
-
-
Krzysztof Drewniak authored
This commit removes the build options to disable threading and removes the mutex in compile_mlir. The commit being tested is a draft PR on rocMLIR that'll get merged if this passes
-
- 13 Jul, 2023 1 commit
-
-
Krzysztof Drewniak authored
Allows the rocMLIR CI (which builds rocMLIR tip against MIGraphX tip) to pass.
-
- 28 Jun, 2023 2 commits
-
-
Umang Yadav authored
-
Krzysztof Drewniak authored
Update `mlir_program` to only create one dialect registry, and to call registerRocMLIRPasses() (which is needed and may not be thread-safe) exactly once. In addition, use a single thread pool across all contexts. This is recommended practice upstream for libraries that perform a lot of compile jobs, and saves on the overhead of creating and destroying a lot of threads
-
- 22 Jun, 2023 1 commit
-
-
Zhuoran Yin authored
Add mlir quant_dot operator support
-
- 24 May, 2023 1 commit
-
-
kahmed10 authored
Refactor supported gfx archs
-
- 05 May, 2023 1 commit
-
-
Manupa Karunaratne authored
Adds support for slice,transpose,contigous and reshape fusions into input tensors for a fused mlir kernel.
-
- 13 Apr, 2023 1 commit
-
-
Zhuoran Yin authored
-
- 27 Mar, 2023 1 commit
-
-
Manupa Karunaratne authored
* [MLIR] add dot offloads with manual tuning support * This commit adds dot + pointwise fusion support along with manual tuning using rocMLIR.
-
- 06 Dec, 2022 1 commit
-
-
jungpark-mlir authored
Update dialect registration interface Update 2nd build pipeline call and use full arch name
-
- 02 Nov, 2022 1 commit
-
-
Paul Fultz II authored
-
- 24 Oct, 2022 1 commit
-
-
jungpark-mlir authored
Reiterate the assertion on the standard shape but relax it for the multibroadcast ops deliberately inserted to explicit the broadcast.
-
- 18 Oct, 2022 1 commit
-
-
Paul Fultz II authored
* Enable non-standard shape * Use perfdb for non xdlops * Fix transpose+broadcast strides Co-authored-by:jungpark-mlir <jungwook.park@amd.com>
-
- 06 Sep, 2022 1 commit
-
-
Paul Fultz II authored
Using not and or improves readability. The cppcheck rule will help ensure we are doing it consistently.
-
- 12 Aug, 2022 1 commit
-
-
Krzysztof Drewniak authored
Once https://github.com/ROCmSoftwarePlatform/llvm-project-mlir/pull/690 lands, the ABI for MLIR-generated kernels will change. This commit prepares MIGraphX for the change by conditionally selecting the new ABI if MLIR reports a sufficiently high API version in its headers.
-
- 02 Aug, 2022 1 commit
-
-
jungpark-mlir authored
-
- 03 Jul, 2022 1 commit
-
-
Paul Fultz II authored
* Add mlir c api * Formatting * Create a type attribute * Formatting * Parse module * Formatting * Add mlir dump function * Add test case * Formatting * Fix tidy issues * Update mlit version * Update to newer mlir * Format * Move mlir to the gpu and update the test * Formatting * Fix bug when appending module * Format * Remove old cmake flag * Update message * Add return * Format * Add mlir_compile * Format * Register dialect * Handle unsinged integers * Dont provide output for return instruction * Format * Add code to insert memrefs * Format * Add mlir verification * Formatting * Enable pointwise_fusion * Disable eliminate_data_type * Set kernal name * Format * Fix device name * Formatting * Fix output arg * Format * Updates * Upate hash * Add fuse_mlir pass * Format * Add fuse mlir * Format * Update mlir * Sort parameter names * Format * Reenable disabled passes * Remove old mlir conv * Remove asym default padding * Add more verbose tracing * Format * Fix compilation errors * Format * Whitelist operators * Format * Add namespace * Format * Update triple * Format * Use func dialect * Format * Use func.return * Format * Upgrade mlir version * Add comment * Handle symetrical padding * Format * Cleanup debug output * Format * List failed tests * Move mlir compile to jit pipeline * Format * Update version * Add source locations * Format * Correctly add module * Format * Update failed tests * Fix failures when mlir is disabled * Format * Update mlir version * Check type for fp32 * Format * Remove failed test * Update mlir in driver * Tidy fixes * Foramt * Tidy fixes * Format * Fix const * Remove from requirements * Fix cmake version * Fix tidy warning * Use another ifdef * Fix tidy * Other tidy fix * Format * Update hash * Add missing license files * Format * Format * Fix fnction name
-