Skip to content

styfenschaer/mkl-bind

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mkl-bind

Minimalistic Python binding to the Intel MKL FFT

Example usage

import numpy as np

import mkl_bind
from mkl_bind import DFTI_CONFIG_VALUE

x_inout = np.random.rand(42) + np.random.rand(42) * 1j

handle = mkl_bind.DftiDescriptorNew()
mkl_bind.DftiCreateDescriptor(
    handle,
    DFTI_CONFIG_VALUE.DFTI_DOUBLE,
    DFTI_CONFIG_VALUE.DFTI_COMPLEX,
    x_inout.ndim,
    x_inout.size,
)
mkl_bind.DftiCommitDescriptor(handle)
mkl_bind.DftiComputeForward(handle, x_inout)
mkl_bind.DftiFreeDescriptor(handle)
mkl_bind.DftiDescriptorDelete(handle)

About

Minimalistic Python binding to the Intel MKL FFT

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published