Adept compression cache to grid size

pull/1/head
Thorsten Liebig 2010-05-21 08:22:41 +02:00
parent d882899ed2
commit f71960c4e0
1 changed files with 7 additions and 1 deletions

View File

@ -46,7 +46,7 @@ Operator_SSE_Compressed::Operator_SSE_Compressed() : Operator_sse()
f4_iv_Compressed[n]=NULL;
}
m_max_fifo = 1000;
m_max_fifo = 0;
}
Operator_SSE_Compressed::~Operator_SSE_Compressed()
@ -170,6 +170,12 @@ bool Operator_SSE_Compressed::CompressOperator()
{
cout << "Compressing the FDTD operator... this my take a while..." << endl;
if (m_max_fifo==0)
{
m_max_fifo = numVectors*numLines[1] + 1;
// cerr << m_max_fifo << endl;
}
m_Max_Compression = true;
list<unsigned int> fifo;