Mercurial > mxe-octave
view src/gta-test.c @ 5978:1569a1d140ae
octave-launch: Set number of OpenBLAS threads to number of cores (bug #61208).
* installer-files/octave-launch.c (get_num_physical_cores): New function to get
number of physical processor cores.
(wmain): Set OPENBLAS_NUM_THREADS to number of physical processor cores for
performance.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Thu, 25 Nov 2021 18:37:52 +0100 |
parents | 99516e73b368 |
children |
line wrap: on
line source
/* * This file is part of MXE. * See index.html for further information. */ #include <gta/gta.h> int main(int argc, char *argv[]) { gta_header_t *header; gta_result_t r; (void)argc; (void)argv; r = gta_create_header(&header); if (r == GTA_OK) { gta_destroy_header(header); } return 0; }