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 | 1221 | June 23, 2009 | |
| Size_t | 4 | 5434 | September 30, 2020 | |
| Error in CUDA programming guide? | 5 | 8155 | June 29, 2010 | |
| What's wrong with cudaMallocPitch()? | 3 | 3162 | August 24, 2010 | |
| cudaMallocPitch returns wrong pitch | 2 | 2750 | May 8, 2012 | |
| cudamalloc2d issue- pitch too large! | 4 | 3364 | August 9, 2007 | |
| Bug on NVIDIA compiler? | 1 | 3435 | December 6, 2008 | |
| cudaPitchedPtr got weird value | 2 | 5283 | December 31, 2010 | |
| cudaMallocPitch not yet implemented | 0 | 2231 | March 6, 2010 | |
| cudaErrorInvalidValue from cudaBindTexture2D() | 2 | 708 | October 15, 2014 |