Skip to content

Conversation

@kazum
Copy link
Contributor

@kazum kazum commented Mar 18, 2020

OpenCL codegen needs explicit casts to min/max operands to avoid ambiguous call errors.
This will fix the reported bug in https://discuss.tvm.ai/t/relay-opencl-quantization-error/5963

#2821 looks no longer necessary, so this PR also reverts it.

@lixiaoquan @tqchen please help to review.

@tqchen tqchen merged commit c3b89b7 into apache:master Mar 18, 2020
@tqchen
Copy link
Member

tqchen commented Mar 18, 2020

Thanks @kazum !

trevor-m pushed a commit to trevor-m/tvm that referenced this pull request Apr 16, 2020
* [CODEGEN][OPENCL] Explicitly cast min/max operands

* retrigger CI
zhiics pushed a commit to neo-ai/tvm that referenced this pull request Apr 17, 2020
* [CODEGEN][OPENCL] Explicitly cast min/max operands

* retrigger CI
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