boostorg / boostorg/odeint

Thrust compilation fails for non-nvcc compilers

Open
#109 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
55
Forks
59
PR merge metrics
No merged PRs in 30d

Description

Compiling Thrust with compilers other than nvcc (for non-CUDA backends) fails with:
```
error: ‘__host__’ does not name a type
```

Contributor guide

No contributing guide indexed for this repository

Research direction

No files, tests, or entry points are named. Start by reproducing the reported compilation failure with a non-nvcc compiler and a non-CUDA backend, then locate where Thrust's CUDA annotations are exposed. Done means the same configuration compiles without the '__host__' error.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
compilers
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.