Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NVIDIA/cuda-samples
/ getDevicePtr
Method
getDevicePtr
cpp/5_Domain_Specific/smokeParticles/GpuArray.h:65–65 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
63
void memset(T value, uint start = 0, uint count = 0);
64
65
T *getDevicePtr() { return m_dptr[m_currentRead]; }
66
GLuint getVbo() { return m_vbo[m_currentRead]; }
67
68
T *getDeviceWritePtr() { return m_dptr[m_currentWrite]; }
Callers
2
step
Method · 0.80
depthSort
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected