 	int i, j;
 	float* output;
 	Matrix MatrixCA, MatrixCA_line, output_chunk;
-	Matrix MatrixAp, tmp_MatrixAp;
+	Matrix MatrixAp, MatrixAp_tmp;
 
 
 #if DEBUG == 2

	blocksize = 100;

#if MODE == 1
	Matrix device_MatrixAp, device_MatrixCA, device_state_read, device_state_write, device_tmp_state, device_output_chunk_read, device_output_chunk_write, device_tmp_output_chunk;

	device_MatrixCA = m_new(blocksize, MatrixA.cols);
	device_output_chunk_read = m_new(blocksize,1);

			m_set(MatrixCA, i-1, j, m_get(MatrixCA_line, 0, j));
		}
		m_free(MatrixCA_line);
		MatrixAp_tmp = m_multiplyblockdiag(MatrixAp, MatrixA, 2);

		m_free(MatrixAp);
		MatrixAp = MatrixAp_tmp;
	}


