INNER CODE UNIT · Python

is_ignored_linux_export

uxlfoundation/oneDAL · dev/release_tests/compare_release_trees.py:133

def is_ignored_linux_export(symbol, library_path=None):
    if symbol in LINUX_IGNORED_EXPORTS:
        return True
    if symbol.startswith(LINUX_IGNORED_EXPORT_PREFIXES):
        return True
    if library_path and Path(library_path).name.startswith("libonedal_dpc.so"):
        if symbol.startswith(LINUX_DPC_IGNORED_EXPORT_PREFIXES):
            return True
        if re.match(r"^_ZNK\d+mkl_sparse_", symbol):
            return True
    # BLAS/LAPACK entry points from MKL are uppercase Fortran-style names.
    return bool(re.match(r"^[A-Z][A-Z0-9_]+(_64)?$", symbol))


# Entities the compiler generates or inlines on its own, rather than named
# functions that form the documented oneDAL surface.
#
# The Windows nightly builds the Make release with `vc` (cl) and the Bazel one

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…