Closed GoogleCodeExporter closed 8 years ago
Simpler case:
Does thrust::transform with thrust::identity in place and checks the answer.
Displays the same behviour for me.
Original comment by scott.ro...@gmail.com
on 30 Jun 2011 at 7:08
Attachments:
Here I get the same behaviour without using thrust and doing the copying out of
place.
I'll post it in on the nvidia forums, hopefully make sure I'm not missing
something dumb.
In my tests:
The incorrect values always appear in pairs.
If I use unsigned int, I don't have any problems.
It does work sometimes (infrequently).
Original comment by scott.ro...@gmail.com
on 30 Jun 2011 at 10:41
Attachments:
Here's the result for my sm_11 device:
$ nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2011 NVIDIA Corporation
Built on Thu_May_12_11:09:45_PDT_2011
Cuda compilation tools, release 4.0, V0.2.1221
$ cat /proc/driver/nvidia/gpus/0/*
Model: Quadro NVS 160M
IRQ: 16
Video BIOS: 62.98.68.00.04
Card Type: PCI-E
DMA Size: 40 bits
DMA Mask: 0xffffffffff
Bus Location: 0000:01.00.0
Binary: ""
$ ./a.out
testing 100 times on device 0
Output correct 100 times on device 0
Original comment by wnbell
on 30 Jun 2011 at 6:20
I can reproduce the problem on an sm_10 device:
jhoberock@nvresearch-test0:~$ nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2011 NVIDIA Corporation
Built on Thu_May_12_11:09:45_PDT_2011
Cuda compilation tools, release 4.0, V0.2.1221
jhoberock@nvresearch-test0:~$ cat /proc/driver/nvidia/gpus/0/*
Model: GeForce 8800 GTS 512
IRQ: 16
Video BIOS: ??.??.??.??.??
Card Type: PCI-E
DMA Size: 40 bits
DMA Mask: 0xffffffffff
Bus Location: 0000:03.00.0
Binary: ""
jhoberock@nvresearch-test0:~$ ./a.out
testing 100 times
a.out: submitted.cu:48: int main(int, char**): Assertion
`std::equal(h_vec1.begin(), h_vec1.end(), h_vec2.begin())' failed.
Aborted
I've attached a smaller version of the code which I've forwarded as nvbug 846540
Original comment by jaredhoberock
on 30 Jun 2011 at 6:27
Attachments:
Original issue reported on code.google.com by
scott.ro...@gmail.com
on 30 Jun 2011 at 7:00Attachments: