Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fast Hybrid mode of iGEMM #326

Merged
merged 16 commits into from
Aug 14, 2020
Prev Previous commit
Next Next commit
set back hybrid to default
Jing Zhang committed Jul 22, 2020
commit f80f083d96b165f91f9c55b10fb5638cba0711d7
6 changes: 3 additions & 3 deletions doc/src/find_and_immediate.md
Original file line number Diff line number Diff line change
@@ -166,10 +166,10 @@ MIOpen provides a set of Find modes which are used to accelerate the Find calls.

- `NORMAL`, or `1`: Normal Find: This is the full Find mode call, which will benchmark all the solvers and return a list.
- `FAST`, or `2`: Fast Find: Checks the [Find-Db](https://rocmsoftwareplatform.github.io/MIOpen/doc/html/finddb.html) for an entry. If there is a Find-Db hit, use that entry. If there is a miss, utilize the Immediate mode fallback. If Start-up times are expected to be faster, but worse GPU performance.
- `HYBRID`, or `3`: Hybrid Find: Checks the [Find-Db](https://rocmsoftwareplatform.github.io/MIOpen/doc/html/finddb.html) for an entry. If there is a Find-Db hit, use that entry. If there is a miss, use the existing Find machinery. Slower start-up times than Fast Find, but no GPU performance drop.
- `OPTIMIZED_HYBRID`, or `4`, or unset `MIOPEN_FIND_MODE`: Optimized hybrid Find: Checks the [Find-Db](https://rocmsoftwareplatform.github.io/MIOpen/doc/html/finddb.html) for an entry. If there is a Find-Db hit, use that entry. If there is a miss, use the existing Find machinery with skipping slow-compiling kernels. Faster start-up times than Hybrid Find, may have GPU performance drop.
- `HYBRID`, or `3`, or unset `MIOPEN_FIND_MODE`: Hybrid Find: Checks the [Find-Db](https://rocmsoftwareplatform.github.io/MIOpen/doc/html/finddb.html) for an entry. If there is a Find-Db hit, use that entry. If there is a miss, use the existing Find machinery. Slower start-up times than Fast Find, but no GPU performance drop.
- `OPTIMIZED_HYBRID`, or `4`: Optimized hybrid Find: Checks the [Find-Db](https://rocmsoftwareplatform.github.io/MIOpen/doc/html/finddb.html) for an entry. If there is a Find-Db hit, use that entry. If there is a miss, use the existing Find machinery with skipping slow-compiling kernels. Faster start-up times than Hybrid Find, but no GPU performance drop.

As of MIOpen 2.7, the default mode is set to `OPTIMIZED_HYBRID` mode as default. To run the full `NORMAL` Find mode, set the environment as:
As of MIOpen 2.7, the default mode is set to `HYBRID` mode as default. To run the full `NORMAL` Find mode, set the environment as:
```
export MIOPEN_FIND_MODE=NORMAL
```
2 changes: 1 addition & 1 deletion src/include/miopen/find_controls.hpp
Original file line number Diff line number Diff line change
@@ -130,7 +130,7 @@ class FindMode
Hybrid,
OptimizedHybrid,
End_,
Default_ = OptimizedHybrid,
Default_ = Hybrid,
};

private: