Skip to content

Conversation

@Hzfengsy
Copy link
Member

@Hzfengsy Hzfengsy commented Apr 9, 2024

CLZ (counting leading zeros) is used for improving ceil_log2 performance on vulkan. however, the current implantation is incorrect during dtype converting. This PR contains:

  1. Simplify clz for index calculation (happens in vulkan sort)
  2. Fix clz for data type conversion

@tqchen
Copy link
Member

tqchen commented Apr 9, 2024

please fix lint

CLZ (counting leading zeros) is used for improving ceil_log2 performance
on vulkan. however, the current implantation is incorrect during dtype
converting. This PR contains:

1. Simplify clz for index calculation (happens in vulkan sort)
2. Fix clz for data type conversion
@Hzfengsy
Copy link
Member Author

@tvm-bot rerun

@tqchen tqchen merged commit 95cb0de into apache:main Apr 10, 2024
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