@@ -43,7 +43,7 @@ err_t bli_gemmsup_int
4343 const obj_t * c ,
4444 const cntx_t * cntx ,
4545 const rntm_t * rntm ,
46- thrinfo_t * thread
46+ thrinfo_t * * thread
4747 )
4848{
4949#if 0
@@ -139,31 +139,31 @@ err_t bli_gemmsup_int
139139 // new ways of parallelism value for the jc loop.
140140 rntm_t rntm_l = * rntm ;
141141 bli_rntm_set_ways_only ( jc_new , 1 , ic_new , 1 , 1 , & rntm_l );
142- bli_l3_sup_thrinfo_update ( & rntm_l , & thread );
142+ bli_l3_sup_thrinfo_update ( & rntm_l , thread );
143143 }
144144
145145
146146 if ( use_bp )
147147 {
148148 #ifdef TRACEVAR
149- if ( bli_thrinfo_am_chief ( thread ) )
149+ if ( bli_thrinfo_am_chief ( * thread ) )
150150 printf ( "bli_l3_sup_int(): var2m primary\n" );
151151 #endif
152152 // block-panel macrokernel; m -> mc, mr; n -> nc, nr: var2()
153153 bli_gemmsup_ref_var2m ( BLIS_NO_TRANSPOSE ,
154154 alpha , a , b , beta , c ,
155- stor_id , cntx , rntm , thread );
155+ stor_id , cntx , rntm , * thread );
156156 }
157157 else // use_pb
158158 {
159159 #ifdef TRACEVAR
160- if ( bli_thrinfo_am_chief ( thread ) )
160+ if ( bli_thrinfo_am_chief ( * thread ) )
161161 printf ( "bli_l3_sup_int(): var1n primary\n" );
162162 #endif
163163 // panel-block macrokernel; m -> nc*,mr; n -> mc*,nr: var1()
164164 bli_gemmsup_ref_var1n ( BLIS_NO_TRANSPOSE ,
165165 alpha , a , b , beta , c ,
166- stor_id , cntx , rntm , thread );
166+ stor_id , cntx , rntm , * thread );
167167 // *requires nudging of nc up to be a multiple of mr.
168168 }
169169 }
@@ -205,31 +205,31 @@ err_t bli_gemmsup_int
205205 // new ways of parallelism value for the jc loop.
206206 rntm_t rntm_l = * rntm ;
207207 bli_rntm_set_ways_only ( jc_new , 1 , ic_new , 1 , 1 , & rntm_l );
208- bli_l3_sup_thrinfo_update ( & rntm_l , & thread );
208+ bli_l3_sup_thrinfo_update ( & rntm_l , thread );
209209 }
210210
211211
212212 if ( use_bp )
213213 {
214214 #ifdef TRACEVAR
215- if ( bli_thrinfo_am_chief ( thread ) )
215+ if ( bli_thrinfo_am_chief ( * thread ) )
216216 printf ( "bli_l3_sup_int(): var2m non-primary\n" );
217217 #endif
218218 // panel-block macrokernel; m -> nc, nr; n -> mc, mr: var2() + trans
219219 bli_gemmsup_ref_var2m ( BLIS_TRANSPOSE ,
220220 alpha , a , b , beta , c ,
221- stor_id , cntx , rntm , thread );
221+ stor_id , cntx , rntm , * thread );
222222 }
223223 else // use_pb
224224 {
225225 #ifdef TRACEVAR
226- if ( bli_thrinfo_am_chief ( thread ) )
226+ if ( bli_thrinfo_am_chief ( * thread ) )
227227 printf ( "bli_l3_sup_int(): var1n non-primary\n" );
228228 #endif
229229 // block-panel macrokernel; m -> mc*,nr; n -> nc*,mr: var1() + trans
230230 bli_gemmsup_ref_var1n ( BLIS_TRANSPOSE ,
231231 alpha , a , b , beta , c ,
232- stor_id , cntx , rntm , thread );
232+ stor_id , cntx , rntm , * thread );
233233 // *requires nudging of mc up to be a multiple of nr.
234234 }
235235 }
@@ -249,7 +249,7 @@ err_t bli_gemmtsup_int
249249 const obj_t * c ,
250250 const cntx_t * cntx ,
251251 const rntm_t * rntm ,
252- thrinfo_t * thread
252+ thrinfo_t * * thread
253253 )
254254{
255255 const stor3_t stor_id = bli_obj_stor3_from_strides ( c , a , b );
@@ -315,14 +315,14 @@ err_t bli_gemmtsup_int
315315 // new ways of parallelism value for the jc loop.
316316 rntm_t rntm_l = * rntm ;
317317 bli_rntm_set_ways_only ( jc_new , 1 , ic_new , 1 , 1 , & rntm_l );
318- bli_l3_sup_thrinfo_update ( & rntm_l , & thread );
318+ bli_l3_sup_thrinfo_update ( & rntm_l , thread );
319319 }
320320
321321
322322 if ( use_bp )
323323 {
324324 #ifdef TRACEVAR
325- if ( bli_thrinfo_am_chief ( thread ) )
325+ if ( bli_thrinfo_am_chief ( * thread ) )
326326 printf ( "bli_l3_sup_int(): var2m primary\n" );
327327 #endif
328328 // block-panel macrokernel; m -> mc, mr; n -> nc, nr: var2()
@@ -335,7 +335,7 @@ err_t bli_gemmtsup_int
335335 else // use_pb
336336 {
337337 #ifdef TRACEVAR
338- if ( bli_thrinfo_am_chief ( thread ) )
338+ if ( bli_thrinfo_am_chief ( * thread ) )
339339 printf ( "bli_l3_sup_int(): var1n primary\n" );
340340 #endif
341341 // panel-block macrokernel; m -> nc*,mr; n -> mc*,nr: var1()
@@ -385,14 +385,14 @@ err_t bli_gemmtsup_int
385385 // new ways of parallelism value for the jc loop.
386386 rntm_t rntm_l = * rntm ;
387387 bli_rntm_set_ways_only ( jc_new , 1 , ic_new , 1 , 1 , & rntm_l );
388- bli_l3_sup_thrinfo_update ( & rntm_l , & thread );
388+ bli_l3_sup_thrinfo_update ( & rntm_l , thread );
389389 }
390390
391391
392392 if ( use_bp )
393393 {
394394 #ifdef TRACEVAR
395- if ( bli_thrinfo_am_chief ( thread ) )
395+ if ( bli_thrinfo_am_chief ( * thread ) )
396396 printf ( "bli_l3_sup_int(): var2m non-primary\n" );
397397 #endif
398398 // panel-block macrokernel; m -> nc, nr; n -> mc, mr: var2() + trans
@@ -405,7 +405,7 @@ err_t bli_gemmtsup_int
405405 else // use_pb
406406 {
407407 #ifdef TRACEVAR
408- if ( bli_thrinfo_am_chief ( thread ) )
408+ if ( bli_thrinfo_am_chief ( * thread ) )
409409 printf ( "bli_l3_sup_int(): var1n non-primary\n" );
410410 #endif
411411 // block-panel macrokernel; m -> mc*,nr; n -> nc*,mr: var1() + trans
0 commit comments