-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Incomplete shceduling for "where" #712
Comments
TVM fails to detect the dependence here. You can explicitly add it when creating schedule s = tvm.create_schedule([ref.op, masked_data.op]) |
Thanks, it works! |
I think it is a bug. if you put |
seems to be a bug that should be fixed |
@comaniac @merrymercy do you mind look into it and submit a fix? Likely we missed something when trace the dependency(in visitor or some recursive pattern) |
Sure I'll take a close look later on, since I have other plans during the Christmas. |
* Make duplicated function name checker working * Fix dependency checking problem for reducer condition (apache#712); add test * Fix dependency checking problem for reducer condition (apache#712); add test * Specify R to be computed inlined
* Make duplicated function name checker working * Fix dependency checking problem for reducer condition (apache#712); add test * Fix dependency checking problem for reducer condition (apache#712); add test * Specify R to be computed inlined
I was trying TVM IR with the following simple computation pattern that creates a set of reference data
ref
to filter the computation at the next stage. Here is the code I used:The output from
lower
is shown below:As can be seen, the computation for
ref
was missing. Did I misunderstand anything of using TVM IR?p.s. I know this piece of code looks silly since we can achieve the same functionality without creating
ref
. On the other hand, this is just the simplified code example to illustrate the problem I'm encountering.The text was updated successfully, but these errors were encountered: