BUGFIX Fix how streams are created in setActiveDevice (CUDA)
BUGFIX Fix how streams are created in setActiveDevice (CUDA)

Ref 968ae4e80ce8e6263fdc3f4381ae8b895df44bc4

9prady9/arrayfire,9prady9/arrayfire,arrayfire/arrayfire,bkloppenborg/arrayfire,umar456/arrayfire,ghisvail/arrayfire,bkloppenborg/arrayfire,munnybearz/arrayfire,munnybearz/arrayfire,ghisvail/arrayfire,victorv/arrayfire,marbre/arrayfire,merlin-ext/arrayfire,shehzan10/arrayfire,arrayfire/arrayfire,marbre/arrayfire,victorv/arrayfire,merlin-ext/arrayfire,merlin-ext/arrayfire,arrayfire/arrayfire,9prady9/arrayfire,marbre/arrayfire,victorv/arrayfire,umar456/arrayfire,munnybearz/arrayfire,marbre/arrayfire,merlin-ext/arrayfire,arrayfire/arrayfire,shehzan10/arrayfire,umar456/arrayfire,bkloppenborg/arrayfire,umar456/arrayfire,ghisvail/arrayfire,bkloppenborg/arrayfire,shehzan10/arrayfire,ghisvail/arrayfire,victorv/arrayfire,shehzan10/arrayfire,9prady9/arrayfire