Lunderberg opened a new pull request, #15241: URL: https://github.com/apache/tvm/pull/15241
Some codegen types delegate to `CodeGenCPU` for their compute kernels, as they may delegate work to packed functions. Because `CodeGenCPU` assumes that it can return an error code at any point (e.g. when launching a parallel for loop), the compute kernel should return an error code. This PR resolves a potential bug introduced in https://github.com/apache/tvm/pull/15127, which removed the hard-coded override of return type. The unit tests in this PR rely on changes made in https://github.com/apache/tvm/pull/15239, to allow TVMScript to represent the call into a compute kernel with non-void return type. -- 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]
