Add missing const to bli_read_nway_from_env.

This commit is contained in:
Devin Matthews
2016-03-25 09:55:35 -05:00
parent a4d7729776
commit bbf704bf75
2 changed files with 2 additions and 2 deletions

View File

@@ -811,7 +811,7 @@ siz_t bli_get_range_weighted_b2t( void* thr, obj_t* a, dim_t bf, dim_t* start, d
// Some utilities
dim_t bli_read_nway_from_env( char* env )
dim_t bli_read_nway_from_env( const char* env )
{
dim_t number = 1;
char* str = getenv( env );

View File

@@ -178,7 +178,7 @@ thrinfo_t* bli_create_thread_info( thread_comm_t* ocomm, dim_t ocomm_id,
void bli_setup_thread_info( thrinfo_t* thread, thread_comm_t* ocomm, dim_t ocomm_id,
thread_comm_t* icomm, dim_t icomm_id,
dim_t n_way, dim_t work_id );
dim_t bli_read_nway_from_env( char* env );
dim_t bli_read_nway_from_env( const char* env );
//void bli_setup_single_threaded_info( thrinfo_t* thr, thread_comm_t* comm );
//thrinfo_t* bli_create_thread_info( dim_t* n_threads_each_level, dim_t n_levels );