You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by GitBox <gi...@apache.org> on 2022/04/25 15:43:11 UTC

[GitHub] [tvm] aarongreig opened a new pull request, #11114: Avoid naming a kernel parameter in the test_tuning python test "kernel"

aarongreig opened a new pull request, #11114:
URL: https://github.com/apache/tvm/pull/11114

   "kernel" is a reserved keyword in OpenCL C, so using it for a parameter
   name is illegal.


-- 
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: commits-unsubscribe@tvm.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [tvm] vinx13 commented on pull request #11114: Avoid naming a kernel parameter in the test_tuning python test "kernel"

Posted by GitBox <gi...@apache.org>.
vinx13 commented on PR #11114:
URL: https://github.com/apache/tvm/pull/11114#issuecomment-1110061868

   It would be better to handle this in codegen than relying on user inputs. There is a list of reserved keywords here https://github.com/apache/tvm/blob/main/src/target/source/codegen_c.cc#L46 you can override it for OpenCL.


-- 
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: commits-unsubscribe@tvm.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org