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

Unable to use vgather with indices other than (U)Int64 #56

Open
sharpsy opened this issue Aug 2, 2019 · 0 comments
Open

Unable to use vgather with indices other than (U)Int64 #56

sharpsy opened this issue Aug 2, 2019 · 0 comments

Comments

@sharpsy
Copy link

sharpsy commented Aug 2, 2019

The operation vgather appears to support indexing by UInt64 and Int64 only.

v = randn(Float32, 16);
vgather(v, Vec{4, UInt64}((1,2,4,5))) # works

vgather(v, Vec{4, UInt32}((1,2,4,5))) # doesn't work

ERROR: error compiling vgather: Failed to parse LLVM Assembly: 
julia: llvmcall:3:26: error: '%1' defined with type '<4 x i32>'
%res = add <4 x i64> %0, %1
                         ^
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

1 participant