using CUDArt, CUBLAS
a = rand( 10 );
d_a = CudaArray( a );
# All this works fine
CUBLAS.iamin( d_a );
CUBLAS.iamin( d_a );
CUBLAS.iamin( d_a );
...
CUBLAS.iamin( d_a );
# But after doing
devices(dev->true) do devlist
...
end
CUBLAS.iamin( d_a ); # Gives a segmentation fault
This does not happen with other functions such as axpy!, but it does happen with iamax and asum
This does not happen with other functions such as
axpy!
, but it does happen withiamax
andasum
Is this a bug or am I doing something wrong?