I am working with particles and have achieved 100x speed up when I use coalescing/shared memory, but would like to compare this performance with a different code using textures, and then develop a hybrid if there is potential benefit. I am looking to use two arrays to store particle numbers of interacting particles. These, as well as the location and velocity of each particle, will probably change at each timestep. Do I need to bind/unbind at each timestep, or bind once at the beginning of the code and unbind once at the end? If binding/unbinding at each timestep when is the optimal time to do this?
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
How to optimize CUDA program general method | 0 | 2747 | January 21, 2009 | |
cudaBindTexture | 4 | 2362 | August 10, 2010 | |
texture memory binding performance | 5 | 2616 | June 13, 2012 | |
utilize texture memory How to use the texture more effectively? | 0 | 2815 | July 4, 2008 | |
Texture? Just a short lesson... | 5 | 2716 | March 9, 2008 | |
RT video processing: Use texture fetches or not? question about using tecture cache | 4 | 3212 | August 18, 2008 | |
Sharing data between blocks | 6 | 2634 | January 29, 2015 | |
Texture binding | 1 | 758 | April 15, 2009 | |
When to use textures | 7 | 8126 | February 12, 2008 | |
Unbind and rebind texture | 3 | 6127 | January 15, 2009 |