Skip to content

Conversation

@echuraev
Copy link
Contributor

Reverts #11021

Found that this PR can affect performance of OpenCL inference. I'll try to fix this issue in another way.

@masahi Could you please revert it?

echuraev added a commit to echuraev/tvm that referenced this pull request Apr 18, 2022
The previous PR apache#11021 was reverted in apache#11035 due
to it affected performance of generated OpenCL code.

This PR fixed the same issue but doesn't lead to performance
degradation. Tested on Resnet50_v2 network.
@echuraev echuraev force-pushed the revert-11021-echuraev/fix_opencl_type_casting branch from a8aa588 to 7f9d231 Compare April 19, 2022 06:01
@masahi masahi merged commit 8107396 into apache:main Apr 19, 2022
echuraev added a commit to echuraev/tvm that referenced this pull request Apr 19, 2022
The previous PR apache#11021 was reverted in apache#11035 due
to it affected performance of generated OpenCL code.

This PR fixed the same issue but doesn't lead to performance
degradation. Tested on Resnet50_v2 network.
masahi pushed a commit that referenced this pull request Apr 19, 2022
* [OpenCL] Fix type casting

The previous PR #11021 was reverted in #11035 due
to it affected performance of generated OpenCL code.

This PR fixed the same issue but doesn't lead to performance
degradation. Tested on Resnet50_v2 network.

* Implement using select built-in
@echuraev echuraev deleted the revert-11021-echuraev/fix_opencl_type_casting branch April 20, 2022 05:42
altanh pushed a commit to altanh/tvm that referenced this pull request Apr 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants