1% test GrB_build 2 3% SuiteSparse:GraphBLAS, Timothy A. Davis, (c) 2017-2021, All Rights Reserved. 4% SPDX-License-Identifier: Apache-2.0 5 6nthreads_set(2) 7grbinfo 8test56 9test23 10 11test42 ; 12 13nthreads_max = feature ('numcores') ; 14for nthreads = [1 2 4 8 16 20 32 40 64 128 256] 15 if (nthreads > 2*nthreads_max) 16 break ; 17 end 18 fprintf ('\n================================================================================\n') ; 19 fprintf ('===================== nthreads: %d\n', nthreads) ; 20 fprintf ('================================================================================\n') ; 21 nthreads_set(nthreads) ; 22 test45 ; 23end 24 25