5122b8c999
Some functions were __device__ only, but should be __host__ and __device__, changed them to __HOST_DEVICE__. Some functions were __HOST_DEVICE__ but were using ockl functions, changed them to __device__ only. Change-Id: Ife9e7abe60415bda68f5f9a101e6e7c39ad51064