cufftXtMemcpy device to device would change data value(simpleCUFFT_2d_MGPU)?
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 9.6k
- Forks
- 2.4k
- Avg merge
- 53m
- Merged PRs (30d)
- 1
Description
Hi,
When I run the simpleCUFFT_2d_MGPU, after the call the result = cufftXtMemcpy(planComplex, d_d_f, d_f, CUFFT_COPY_DEVICE_TO_DEVICE);,I copyData d_f、d_d_f from gpus to host memory, like this,

In host Memory, d_f_out!=d_d_f_out. But according to the cuda docs

cufftXtMemcpy Device to Device just change the order of data in gpus,
So Is there something I do wrong?
Thanks.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue points to Samples/4_CUDA_Libraries/simpleCUFFT_2d_MGPU/simpleCUFFT_2d_MGPU.cu at line 255; start by reproducing the sample and inspecting the host copies of d_f and d_d_f after cufftXtMemcpy. Compare the observed ordering with the CUDA documentation and determine whether the discrepancy is in the sample or the reported copy usage. Done means a documented explanation or a confirmed sample fix.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- hpc
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100