Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[OpenCL] directly 4 8 bit int in integer causes compiling error #5464

Closed
westion717 opened this issue Apr 28, 2020 · 5 comments
Closed

[OpenCL] directly 4 8 bit int in integer causes compiling error #5464

westion717 opened this issue Apr 28, 2020 · 5 comments
Assignees

Comments

@westion717
Copy link

Hi, I find if use directly 4 8 bit int in integer as following link, it will cause compiling error (when the member of int is referred as .s0, .s1 later) in my opencl compiler provided by my vendor. I am wondering whether the paradigm is legal in the specific opencl spec version or it should be fixed to use char4 instead.

https://github.com/apache/incubator-tvm/blob/952def53da51e6cf17c5dbf50b92e193622ca695/src/target/source/codegen_opencl.cc#L125

@tqchen
Copy link
Member

tqchen commented Apr 29, 2020

cc @kazum @masahi

@kazum
Copy link
Contributor

kazum commented Apr 30, 2020

It looks wrong and should be fixed, I think.

@kazum
Copy link
Contributor

kazum commented May 11, 2020

@westion717 Can you share your program to reproduce this problem?

@tqchen
Copy link
Member

tqchen commented Jul 29, 2020

@westion717 please follow up

@areusch areusch added the needs-triage PRs or issues that need to be investigated by maintainers to find the right assignees to address it label Oct 19, 2022
@areusch
Copy link
Contributor

areusch commented Nov 16, 2022

closing this issue since there is no reproduction and it is over 2 years old.

@areusch areusch closed this as completed Nov 16, 2022
@areusch areusch removed the needs-triage PRs or issues that need to be investigated by maintainers to find the right assignees to address it label Nov 16, 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

No branches or pull requests

4 participants