Skip to content

Conversation

@echuraev
Copy link
Contributor

@echuraev echuraev commented Jun 8, 2023

On Adreno devices double type is not supported by OpenCL. Modified ceil_log2 operation to cast value to float instead of double in case of Adreno.

@tvm-bot
Copy link
Collaborator

tvm-bot commented Jun 8, 2023

Thanks for contributing to TVM! Please refer to the contributing guidelines https://tvm.apache.org/docs/contribute/ for useful information and tips. Please request code reviews from Reviewers by @-ing them in a comment.

Generated by tvm-bot

@echuraev echuraev requested review from masahi and srkreddy1238 June 8, 2023 08:51
@masahi
Copy link
Member

masahi commented Jun 8, 2023

See #14983 (comment) for the arm build issue.

On Adreno devices double type is not supported by OpenCL. Modified
`ceil_log2` operation to cast value to float instead of double in case
of Adreno.
@echuraev echuraev force-pushed the echuraev/fix_adreno_ceil_log2 branch from 58844af to dadbbec Compare June 9, 2023 06:09
@masahi masahi merged commit df5b180 into apache:main Jun 9, 2023
junrushao pushed a commit to junrushao/tvm that referenced this pull request Jun 22, 2023
On Adreno devices double type is not supported by OpenCL. Modified
`ceil_log2` operation to cast value to float instead of double in case
of Adreno.
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.

3 participants