-
Notifications
You must be signed in to change notification settings - Fork 220
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
How to tune using API? #3086
Comments
AFAIK it is not possible to more or less guarantee tuning happening just through API without |
For the Conv case, with find 2.0 API i thought we don't need to set ENV var. Has it changed ? e.g. MIOpen/include/miopen/miopen.h Line 5660 in 8449363
|
Find 2.0 does not respect |
Enforce can be set using fort the Find-2.0 API. MIOpen/include/miopen/miopen.h Line 5591 in 97ec508
Is that correct for the case of convolution ? I have object to following statement that's the reason why i am asking.
|
TL;DR:When there is an entry in find-db, it can be skipped by Some details:Enforce is a separate thing that supersedes it. You are partially correct. Now that I have re-read the related source I can see that it should force tuning in some cases: when find actually happens and there is no entry in the perf-db, like |
Can we do tuning using API? Lets say if I want to tune fused solver or regular solver. I can do:
MIOPEN_FIND_ENFORCE=3 MIOPEN_FIND_MODE=1 ./bin/MIOpenDriver CBAInfer -F 4 -n 128 -c 3 -H 32 -W 32 -k 64 -y 3 -x 3 -p 1 -q 1 -u 1 -v 1 -l 1 -j 1
But is there its API equivalent? is miopenFindConvolutionForwardAlgorithm for this? But this seem to be for regular solver. I was looking find for fused solver.
The text was updated successfully, but these errors were encountered: