Port InnerProductLayer to GPU.