Skip to content

Conversation

@kylo5aby
Copy link
Contributor

OneAPI includes a libm.lib math library. In a Windows environment with OneAPI set up, if GGML_SYCL is not specified, the build process will attempt to link against the m library, which causes an error. This PR addresses the issue by ensuring that the correct library linkage is used in this environment.

Copy link
Collaborator

@NeoZhangJianyu NeoZhangJianyu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I test it. There is no impact to SYCL backend on linux and windows.

@NeoZhangJianyu NeoZhangJianyu merged commit e597e50 into ggml-org:master Nov 1, 2024
53 checks passed
@kylo5aby kylo5aby deleted the build branch November 1, 2024 03:37
arthw pushed a commit to arthw/llama.cpp that referenced this pull request Nov 15, 2024
arthw pushed a commit to arthw/llama.cpp that referenced this pull request Nov 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants