Developer Guide

Developer Guide for Intel® oneAPI Math Kernel Library Linux*

ID 766690
Date 11/07/2023
Public

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

Document Table of Contents

Building Custom Shared Objects

Сustom shared objectsreduce the collection of functions available in Intel® oneAPI Math Kernel Library (oneMKL) libraries to those required to solve your particular problems, which helps to save disk space and build your own dynamic libraries for distribution.

The Intel® oneAPI Math Kernel Library (oneMKL) customshared object builder enables you to create a dynamic library (shared object) containing the selected functions and located in the tools/builder directory. The builder contains a makefile and a definition file with the list of functions.

NOTE:

The objects in Intel® oneAPI Math Kernel Library (oneMKL) static libraries are position-independent code (PIC), which is not typical for static libraries. Therefore, the custom shared object builder can create a shared object from a subset of Intel® oneAPI Math Kernel Library (oneMKL) functions by picking the respective object files from the static libraries.