parallel101 / parallel101/course

Cuda自带的thrust没有 <thrust/universal_vector.h>文件

Open
#30 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
4.2k
Forks
556
PR merge metrics
No merged PRs in 30d

Description

08/06_thrust/01/main.cu文件里面include <thrust/universal_vector.h>显示找不到 <thrust/universal_vector.h>
官方thrust库里面的"universal_allocator.h", "universal_ptr.h", "universal_vector.h"都没有在我电脑cuda的include的文件夹里面。是我安装cuda有问题吗?(2022年安装的cuda)还是更新了吗?#include <thrust/device_vector.h> #include <thrust/host_vector.h>这些没有问题。

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.

Research direction

Start with 08/06_thrust/01/main.cu and inspect the failing <thrust/universal_vector.h> include alongside the working device_vector and host_vector includes. Check the installed CUDA/Thrust version and whether the three universal headers are present, then compare that environment with the course example. Done means determining whether the example or the installation/version is responsible and documenting the required resolution.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
hpc
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.