Test get_temporary_buffer, return_temporary_buffer, malloc, and free
with thrust::seq in __device__ code.