Developer Reference for Intel® oneAPI Math Kernel Library for C
mkl_verbose_output_file
Enables writing output in Intel® oneAPI Math Kernel Library (oneMKL) Verbose mode to a file.
Syntax
intmkl_verbose_output_file ( const char*filename );
Include Files
mkl.h
Input Parameters
Name |
Type |
Description |
|---|---|---|
filename |
const char* |
Name of the file to which oneMKL Verbose output will write. |
Description
This function enables writing the output in Verbose mode to a specified file.
If the file can be opened, the function returns 0. Otherwise, the function returns 1 and defaults to mkl_verbose behavior by printing to stdout. The specified file must be closed before this function (or any verbose-enabled function) is called.
The setting for the verbose output file specified by the mkl_verbose_output_file function takes precedence over the setting specified by the MKL_VERBOSE_OUTPUT_FILE environment variable.
For more information on the Verbose mode, see the Intel® oneAPI Math Kernel Library (oneMKL) Developer Guide Linux or Windows , available in the Intel® Software Documentation Library.
Return Values
Name |
Type |
Description |
|---|---|---|
status |
int |
|