Skip to content

[Build] Some Build Options/Definitions seems Missing in ggml-base #13017

@QingtaoLi1

Description

@QingtaoLi1

It seems that in CMakeLists, ggml-base has very few compile options/definitions, but the source files which it includes rely on them.

For example, in ggml.c, this function void ggml_bf16_to_fp32_row(const ggml_bf16_t * x, float * y, int64_t n) checks __AVX512F__ and __AVX2__, but they are not defined during ggml-base compiling.

Is this a by-design behavior or a bug?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions