Skip to content
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

[CIR][CUDA] Initial support for host compilation #1309

Merged
merged 2 commits into from
Feb 5, 2025

Conversation

AdUhTkJm
Copy link
Contributor

@AdUhTkJm AdUhTkJm commented Feb 4, 2025

Adds support for __host__ and __device__ functions when compiling for CUDA host.

The conditions I checked against is taken from OG.

Copy link
Member

@bcardosolopes bcardosolopes left a comment

Choose a reason for hiding this comment

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

LGTM

@bcardosolopes bcardosolopes merged commit 90a5b61 into llvm:main Feb 5, 2025
6 checks passed
bcardosolopes pushed a commit that referenced this pull request Feb 7, 2025
Adds support for `__host__` and `__device__` functions when compiling
for CUDA host.

The PR follows the structure of #1309
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.

2 participants