File tree Expand file tree Collapse file tree
example/python_pkg/benchmarks Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11import os
2+ nthreads = 1
3+ os .environ ["OMP_NUM_THREADS" ] = str (nthreads )
4+ os .environ ["OPENBLAS_NUM_THREADS" ] = str (nthreads )
5+ os .environ ["MKL_NUM_THREADS" ] = str (nthreads )
6+
27import glob
38from raffle .generator import raffle_generator
49import pytest
Original file line number Diff line number Diff line change 11import os
2+ nthreads = 1
3+ os .environ ["OMP_NUM_THREADS" ] = str (nthreads )
4+ os .environ ["OPENBLAS_NUM_THREADS" ] = str (nthreads )
5+ os .environ ["MKL_NUM_THREADS" ] = str (nthreads )
6+
27import pytest
38import time
49import numpy as np
Original file line number Diff line number Diff line change 1+ import os
2+ nthreads = 1
3+ os .environ ["OMP_NUM_THREADS" ] = str (nthreads )
4+ os .environ ["OPENBLAS_NUM_THREADS" ] = str (nthreads )
5+ os .environ ["MKL_NUM_THREADS" ] = str (nthreads )
6+
17import pytest
28import time
39import numpy as np
Original file line number Diff line number Diff line change 1+ import os
2+ nthreads = 1
3+ os .environ ["OMP_NUM_THREADS" ] = str (nthreads )
4+ os .environ ["OPENBLAS_NUM_THREADS" ] = str (nthreads )
5+ os .environ ["MKL_NUM_THREADS" ] = str (nthreads )
6+
17import pytest
28import time
39import numpy as np
You can’t perform that action at this time.
0 commit comments