Developer Reference for Intel® oneAPI Math Kernel Library for Fortran

ID 766686
Date 6/24/2024
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

mkl_jit_destroy

Delete the jitter previously created with mkl_jit_create_?gemm as well as the GEMM kernel that it contains.

Syntax

status = mkl_jit_destroy (jitter)

Include Files

  • mkl_blas.f90

Description

The mkl_jit_destroy function belongs to a set of related routines that enable use of just-in-time code generation.

The mkl_jit_destroy function takes as input a jitter previously created with mkl_jit_create_?gemm and deletes the jitter as well as the GEMM kernel that it contains.

NOTE:

Generating a new kernel with mkl_jit_create_?gemm involves moderate runtime overhead. To benefit from JIT code generation, use this feature when you need to call the generated kernel many times (for example, several hundred calls).

NOTE:

The JIT API requires Fortran 90 and the ISO_C_BINDING module.

Input Parameter

jitter

TYPE(C_PTR), VALUE

Jitter handle

Return Values

status

INTEGER

Returns one of the following:

  • MKL_JIT_ERROR if the pointer is not NULL and is not a handle on a jitter—that is, if it was not created with mkl_jit_create_?gemm

    —or—

  • MKL_JIT_SUCCESS if the jitter has been successfully destroyed