Move CUDA check structs and functions closer together
Move CUDA check structs and functions closer together

9prady9/arrayfire,9prady9/arrayfire,umar456/arrayfire,umar456/arrayfire,umar456/arrayfire,9prady9/arrayfire,arrayfire/arrayfire,arrayfire/arrayfire,arrayfire/arrayfire,9prady9/arrayfire,arrayfire/arrayfire,umar456/arrayfire