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 2020/09/11 09:46:44 UTC
[GitHub] [incubator-tvm] cloud-mxd opened a new pull request #6452: [runtime] fix: BooleanToTranspose function definition conflict
cloud-mxd opened a new pull request #6452:
URL: https://github.com/apache/incubator-tvm/pull/6452
I'm using tvm to convert pytorch model, but raise error like this:
_"intel_ mkl error: parameter 2 was incorrect on entry to cblas_sgemm."
After using gdb debug, I found that the problem was that the inline function was redefined, and mkl incorrectly used the BooleanToTranspose function defined in cublas. This was mainly because the inline function was not marked with static or was not included in the anonymous namespace.
Please help review whether this change is reasonable.
Thanks
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-tvm] tqchen merged pull request #6452: [runtime] fix: BooleanToTranspose function definition conflict
Posted by GitBox <gi...@apache.org>.
tqchen merged pull request #6452:
URL: https://github.com/apache/incubator-tvm/pull/6452
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-tvm] tqchen commented on pull request #6452: [runtime] fix: BooleanToTranspose function definition conflict
Posted by GitBox <gi...@apache.org>.
tqchen commented on pull request #6452:
URL: https://github.com/apache/incubator-tvm/pull/6452#issuecomment-691176171
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-tvm] tqchen merged pull request #6452: [runtime] fix: BooleanToTranspose function definition conflict
Posted by GitBox <gi...@apache.org>.
tqchen merged pull request #6452:
URL: https://github.com/apache/incubator-tvm/pull/6452
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-tvm] tqchen commented on pull request #6452: [runtime] fix: BooleanToTranspose function definition conflict
Posted by GitBox <gi...@apache.org>.
tqchen commented on pull request #6452:
URL: https://github.com/apache/incubator-tvm/pull/6452#issuecomment-691177153
NOTE that the use of anoymous namespace can be probelematic when we started to do amalgamation style compilation. It would be great to send a followup PR to remove these anoymous namespace and change the function name instead(e.g. CBLASBooleanToTranspose, CUBLASBooleanToTranspose) or use a separate namespace for cblas and cublas
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-tvm] tqchen merged pull request #6452: [runtime] fix: BooleanToTranspose function definition conflict
Posted by GitBox <gi...@apache.org>.
tqchen merged pull request #6452:
URL: https://github.com/apache/incubator-tvm/pull/6452
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-tvm] tqchen commented on pull request #6452: [runtime] fix: BooleanToTranspose function definition conflict
Posted by GitBox <gi...@apache.org>.
tqchen commented on pull request #6452:
URL: https://github.com/apache/incubator-tvm/pull/6452#issuecomment-691176171
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-tvm] tqchen commented on pull request #6452: [runtime] fix: BooleanToTranspose function definition conflict
Posted by GitBox <gi...@apache.org>.
tqchen commented on pull request #6452:
URL: https://github.com/apache/incubator-tvm/pull/6452#issuecomment-691176171
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-tvm] tqchen commented on pull request #6452: [runtime] fix: BooleanToTranspose function definition conflict
Posted by GitBox <gi...@apache.org>.
tqchen commented on pull request #6452:
URL: https://github.com/apache/incubator-tvm/pull/6452#issuecomment-691176171
Thanks @cloud-mxd !
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org