Lunderberg commented on issue #17245: URL: https://github.com/apache/tvm/issues/17245#issuecomment-2271755931
Hmm. The PrimFunc definition is a bit odd. The present of the `with T.block` means that it is schedulable TIR, but there aren't any `with T.block` annotations inside the loops themselves. So the body looks like it is after the `ConvertBlocksToOpaque` transform, but `DefaultGPUSchedule` requires the annotations from before that. The reason why it works when the dead function is removed is because `DefaultGPUSchedule` attempts to schedule all TIR functions, regardless of whether they are actually used. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
