In an example on p.34 of the Programming Guide 2.0beta2 ‘pitch’ is declared as an ‘int’, but it should be a ‘size_t’, I believe.
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Error with cudaMallocPitch | 3 | 1235 | June 23, 2009 | |
| Size_t | 4 | 5532 | September 30, 2020 | |
| Error in CUDA programming guide? | 5 | 8182 | June 29, 2010 | |
| What's wrong with cudaMallocPitch()? | 3 | 3208 | August 24, 2010 | |
| cudaMallocPitch returns wrong pitch | 2 | 2772 | May 8, 2012 | |
| cudamalloc2d issue- pitch too large! | 4 | 3390 | August 9, 2007 | |
| Bug on NVIDIA compiler? | 1 | 3450 | December 6, 2008 | |
| cudaPitchedPtr got weird value | 2 | 5302 | December 31, 2010 | |
| cudaMallocPitch not yet implemented | 0 | 2241 | March 6, 2010 | |
| cudaErrorInvalidValue from cudaBindTexture2D() | 2 | 719 | October 15, 2014 |