You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You have to be sure you give the correct shape to reshape otherwise you might get compilations error from nvcc, Accelerate doesn't check it for you
Kernel code can not depend on the output of another kernel. For instance, we tried:
let xs =filter somePredicate someVector
in reshape (Z:.length xs :.3) someOtherVector
This doesn't work as "length xs" can not be computed before Accelerate-run time, but the kernel for reshape has to be compiled at the same time as the one for filter.