Replaced Pointer with CUdeviceptr.