Skip to content

cmake : pass CPU architecture flags to nvcc #5146

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jan 26, 2024
Merged

Conversation

cebtenzzre
Copy link
Collaborator

This is a follow-up to #4943 (@ngc92).

When calling nvcc, make sure the architecture flags still get passed to the host compiler via -Xcompiler, even though nvcc may not accept them directly in some cases (I haven't had any issue with them personally).

@cebtenzzre cebtenzzre requested a review from slaren January 26, 2024 20:25
@cebtenzzre cebtenzzre merged commit bbe7c56 into master Jan 26, 2024
@cebtenzzre cebtenzzre deleted the ceb/nvcc-cpu-arch branch January 26, 2024 20:34
jordankanter pushed a commit to jordankanter/llama.cpp that referenced this pull request Feb 3, 2024
hodlen pushed a commit to hodlen/llama.cpp that referenced this pull request Apr 1, 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