Commit 1952cdc2 authored by Pedro Gonnet's avatar Pedro Gonnet
Browse files

added option -w to specifiy space_subsize.


Former-commit-id: 7c98b7f1f10b2e060a3fd883f2ae561c3968cfd8
parent b254e198
......@@ -648,7 +648,7 @@ int main ( int argc , char *argv[] ) {
bzero( &s , sizeof(struct space) );
/* Parse the options */
while ( ( c = getopt( argc , argv , "a:d:f:m:s:t:q:r:z:" ) ) != -1 )
while ( ( c = getopt( argc , argv , "a:d:f:m:q:r:s:t:w:z:" ) ) != -1 )
switch( c )
{
case 'a':
......@@ -689,6 +689,11 @@ int main ( int argc , char *argv[] ) {
error( "Error parsing number of threads." );
omp_set_num_threads( nr_threads );
break;
case 'w':
if ( sscanf( optarg , "%d" , &space_subsize ) != 1 )
error( "Error parsing sub size." );
printf( "main: sub size set to %i.\n" , space_subsize );
break;
case 'z':
if ( sscanf( optarg , "%d" , &space_splitsize ) != 1 )
error( "Error parsing split size." );
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment