| ggml_vulkan_hard_exit_available | R Documentation |
Reports whether this build of ggmlR was compiled with
-DGGML_VK_HARD_EXIT, which is what makes
ggml_vulkan_shutdown(hard = TRUE) actually call _exit().
ggml_vulkan_hard_exit_available()
The hard-exit path is disabled by default: CRAN Repository Policy
forbids a package from terminating the user's R session, so the released
package must not link _exit(). Builds from source can opt in with
R CMD INSTALL . --configure-args="--enable-hard-exit" (on Windows, set
Sys.setenv(GGML_VK_HARD_EXIT = "1") before installing, because R there
ignores configure.args).
When it is not compiled in, ggml_vulkan_shutdown(hard = TRUE) performs
the normal teardown and emits a warning rather than silently
ignoring the request.
TRUE if the hard-exit path is available, otherwise FALSE.
ggml_vulkan_shutdown
ggml_vulkan_hard_exit_available()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.