CUDA weighted logistic loss.