Developer Reference for Intel® oneAPI Math Kernel Library for Fortran

ID 766686
Date 10/31/2024
Public
Document Table of Contents

mkl_verbose

Enables or disables Intel® oneAPI Math Kernel Library (oneMKL) Verbose mode.

Syntax

status = mkl_verbose(enable)

Fortran Include Files/Modules

  • Include file: mkl.fi
  • Module (compiled): mkl_service.mod
  • Module (source): mkl_service.f90

Input Parameters

Name

Type

Description

enable

INTEGER*4

Desired state of the Intel® oneAPI Math Kernel Library (oneMKL) Verbose mode. Indicates whether printing Intel® oneAPI Math Kernel Library (oneMKL) function call information should be turned on or off. Possible values:

  • 0 – disable the Verbose mode

  • 1 – enable the Verbose mode (GPU application: enable the Verbose mode without timing)

  • 2 – enable the Verbose mode (GPU application: enable the Verbose mode with synchronous timing)

Description

This function enables or disables the Intel® oneAPI Math Kernel Library (oneMKL) Verbose mode, in which computational functions print call description information. For details of the Verbose mode, see theIntel® oneAPI Math Kernel Library (oneMKL) Developer Guide, available in the Intel® Software Documentation Library.

NOTE:

The setting for the Verbose mode specified by the mkl_verbose function takes precedence over the setting specified by the MKL_VERBOSE environment variable.

Return Values

Name

Type

Description

status

INTEGER*4

  • If the requested operation completed successfully, contains previous state of the verbose mode:

    • 0 – Verbose mode was disabled

    • 1 – Verbose mode was enabled (GPU application: Verbose mode was enabled without timing)

    • 2 – Verbose mode was enabled (GPU application: Verbose mode was enabled with synchronous timing)

  • If the function failed to complete the operation because of an incorrect input parameter, equals –1.