BUGFIX for cuda random number generation on multiple devices
BUGFIX for cuda random number generation on multiple devices

* curand states were not initialized for every device

merlin-ext/arrayfire,asifmadnan/arrayfire,jramapuram/arrayfire,glehmann/arrayfire,victorv/arrayfire,merlin-ext/arrayfire,pombredanne/arrayfire,hshindo/arrayfire,Keno/arrayfire,pentschev/arrayfire,unbornchikken/arrayfire,ghisvail/arrayfire,shehzan10/arrayfire,arrayfire/arrayfire,mrgloom/arrayfire,9prady9/arrayfire,ghisvail/arrayfire,ghisvail/arrayfire,linan7788626/arrayfire,unbornchikken/arrayfire,arrayfire/arrayfire,marbre/arrayfire,marbre/arrayfire,HolyGeneralK/arrayfire,pentschev/arrayfire,HolyGeneralK/arrayfire,umar456/arrayfire,jramapuram/arrayfire,shehzan10/arrayfire,marbre/arrayfire,victorv/arrayfire,victorv/arrayfire,pavanky/arrayfire,munnybearz/arrayfire,arrayfire/arrayfire,pavanky/arrayfire,unbornchikken/arrayfire,linan7788626/arrayfire,kylelutz/arrayfire,Keno/arrayfire,Keno/arrayfire,bkloppenborg/arrayfire,9prady9/arrayfire,mrgloom/arrayfire,ghisvail/arrayfire,hshindo/arrayfire,0x0all/arrayfire,hshindo/arrayfire,jramapuram/arrayfire,mrgloom/arrayfire,kylelutz/arrayfire,bkloppenborg/arrayfire,pombredanne/arrayfire,HolyGeneralK/arrayfire,shehzan10/arrayfire,munnybearz/arrayfire,shehzan10/arrayfire,9prady9/arrayfire,arrayfire/arrayfire,asifmadnan/arrayfire,asifmadnan/arrayfire,pombredanne/arrayfire,linan7788626/arrayfire,munnybearz/arrayfire,0x0all/arrayfire,glehmann/arrayfire,pombredanne/arrayfire,HolyGeneralK/arrayfire,umar456/arrayfire,mrgloom/arrayfire,pentschev/arrayfire,hshindo/arrayfire,pavanky/arrayfire,pavanky/arrayfire,umar456/arrayfire,unbornchikken/arrayfire,bkloppenborg/arrayfire,merlin-ext/arrayfire,merlin-ext/arrayfire,victorv/arrayfire,pentschev/arrayfire,9prady9/arrayfire,umar456/arrayfire,bkloppenborg/arrayfire,asifmadnan/arrayfire,Keno/arrayfire,linan7788626/arrayfire,jramapuram/arrayfire,marbre/arrayfire