UseEmbeddedLibrary
is an option of FunctionCompile that embeds a shared library in a CompiledCodeFunction.
Details
- UseEmbeddedLibrary embeds a shared library suitable for the architecture on which FunctionCompile is run.
- An embedded library speeds up the creation of a CompiledCodeFunction that is restored from its InputForm, for example by loading from a file.
Examples
Basic Examples (1)
Create a compiled code function that embeds a shared library for the current platform:
The code function now includes an embedded library:
The library will be used when the code function is loaded from a file. This makes loading faster:
The restored CompiledCodeFunction works as expected:
Text
Wolfram Research (2021), UseEmbeddedLibrary, Wolfram Language function, https://reference.wolfram.com/language/ref/UseEmbeddedLibrary.html.
CMS
Wolfram Language. 2021. "UseEmbeddedLibrary." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/UseEmbeddedLibrary.html.
APA
Wolfram Language. (2021). UseEmbeddedLibrary. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/UseEmbeddedLibrary.html