Cleaning up memory.cpp in cuda backend
Cleaning up memory.cpp in cuda backend

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