Fixed CULA C device code. Forgot to cudaMalloc() piv_d on device. oops