Skip to content
This repository was archived by the owner on May 17, 2020. It is now read-only.

GPUifty CuArray of Static Arrays #59

Open
ChrisRackauckas opened this issue May 7, 2019 · 1 comment
Open

GPUifty CuArray of Static Arrays #59

ChrisRackauckas opened this issue May 7, 2019 · 1 comment

Comments

@ChrisRackauckas
Copy link

using GPUifyLoops,CuArrays, StaticArrays
CuArrays.allowscalar(false)
function f2(p)
    sum(p)
end
_f2 = GPUifyLoops.contextualize(f2)
ps = CuArray([@SVector [10,28,8/3] for i in 1:10])
map(_f2,ps)
@vchuravy
Copy link
Owner

vchuravy commented May 7, 2019

Might be fixed by #58

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants