Thrust compilation fails for non-nvcc compilers

Open
#109 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

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

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.

Description

Compiling Thrust with compilers other than nvcc (for non-CUDA backends) fails with:

error: ‘__host__’ does not name a type
Dominant language
C++
Stars
55
Forks
59
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from boostorg/odeint

All issues in boostorg/odeint

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.