Adding and derefence to cudaMalloc call