Tencent / Tencent/ncnn

How to copy data from cudaArray?

Open
#5,145 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
23.8k
Forks
4.5k
Avg merge
2d 20h
Merged PRs (30d)
37

Description

detail | 详细描述 | 詳細な説明

I want to copy data from cudaArray to ncnn::vKMat, can anyone know, thanks~
How do I use cudaMemcpy to implement this function?

Contributor guide

Open the contributing guide

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

The issue names ncnn::vKMat, cudaArray, and cudaMemcpy but no repository file, test, or concrete change. Start by locating the definitions and existing CUDA-related usage, then verify the supported copy path against the relevant CUDA documentation. Done would require a reproducible, project-specific explanation or a clarified actionable issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
machine-learning
Issue type
Documentation
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
15/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.