Updated gpu support APIs to work with integer and floating point arrays