Inline hash operation on CUDA kernel