mkl_jit_destroy
mkl_jit_destroy
Delete the jitter previously created with
mkl_jit_create_?gemm
as well as the GEMM kernel that it contains.Syntax
mkl_jit_status_t
mkl_jit_destroy
(
void*
jitter
);
Include Files
- mkl.h
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.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).Input Parameter
- jitter
- Jitter handle
Return Values
- status
- Returns one of the following:
- MKL_JIT_ERRORif the pointer is not NULL and is not a handle on a jitter—that is, if it was not created withmkl_jit_create_?gemm—or—
- MKL_JIT_SUCCESSif the jitter has been successfully destroyed