Mercurial > mxe-octave
view src/jpeg-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 <stdio.h> #include <windows.h> #include <jpeglib.h> int main(int argc, char *argv[]) { boolean test_boolean; INT32 test_int32; struct jpeg_decompress_struct cinfo; (void)argc; (void)argv; test_boolean = TRUE; test_int32 = 1; (void)test_boolean; (void)test_int32; jpeg_create_decompress(&cinfo); jpeg_destroy_decompress(&cinfo); return 0; }