![]() |
TAPs 0.7.7.3
|
The collection of CUDA's Texture References which have to be global. More...
#include "TAPsCUDA_GlobalTextureRef.cu"
Include dependency graph for TAPsCUDA_GlobalTextureRef.cu:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Defines | |
| #define | TAPs_CUDA_GLOBAL_TEXTURE_REF_HPP |
| #define | TAPs_CUDA_DATA_VERTEX_LIST_TEXTURE_FROM_LIN_MEM |
Variables | |
| texture< float4, 1, cudaReadModeElementType > | CudaTexVertexList |
| Texture References. | |
| texture< float4, 1, cudaReadModeElementType > | CudaTexPrevVertexList |
| texture for list of previous vertices | |
| texture< float4, 1, cudaReadModeElementType > | CudaTexHomeVertexList |
| texture for list of home vertices | |
| texture< int1, 1, cudaReadModeElementType > | CudaTexVertexConnectionList |
| texture for list of vertex connections (x:=vertex#, y:=rest length, z:=stiffness, w:=damper) | |
| texture< uint1, 1, cudaReadModeElementType > | CudaTexSimFlagsList |
| texture for list of simulation flags | |
| texture< float4, 1, cudaReadModeElementType > | CudaTexPosConstraintList |
| texture for list of position constraints (xyz) plus force ratio (w) | |
| texture< float4, 1, cudaReadModeElementType > | CudaTexOrientationList |
| texture for list of orientations | |
| texture< float4, 1, cudaReadModeElementType > | CudaTexPrevOrientationList |
| texture for list of previous orientations | |
| texture< float4, 1, cudaReadModeElementType > | CudaTexForceList_1 |
| texture for a list of forces | |
| texture< float4, 1, cudaReadModeElementType > | CudaTexForceList_2 |
| texture for a list of forces | |
The collection of CUDA's Texture References which have to be global.
"CUDA/TAPsCUDA_GlobalTextureRef.cu" CUDA texture dimension supports only 1-, 2-, and 4-component vector types, but not 3.
Use texture from CUDA Linear Memory by calling cudaBindTexture(...). CUDA Linear Memory is allocated by calling cudaMalloc(...). To enter or change the data in the Linear Memory, must use cudaMemcpy(...). and free by calling cudaFree(...).
Use texture from CUDA Arrays by calling cudaBindTextureToArray(...). CUDA Array is allocated by calling cudaMallocArray(...). To enter or change the data in the Array, must use cudaMemcpyToArray(...). and free by calling cudaFreeArray(...).
The texture reference has to be global, otherwise NVCC will generate error!
Definition in file TAPsCUDA_GlobalTextureRef.cu.
| #define TAPs_CUDA_DATA_VERTEX_LIST_TEXTURE_FROM_LIN_MEM |
Definition at line 57 of file TAPsCUDA_GlobalTextureRef.cu.
| #define TAPs_CUDA_GLOBAL_TEXTURE_REF_HPP |
Definition at line 27 of file TAPsCUDA_GlobalTextureRef.cu.
| texture<float4, 1, cudaReadModeElementType> CudaTexForceList_1 |
texture for a list of forces
Definition at line 48 of file TAPsCUDA_GlobalTextureRef.cu.
Referenced by DATA_Vertex_ListPLHM::BindForceList_1(), DATA_Vertex_List::BindForceList_1(), Global__ModelElasticRod_AdvSim_CU(), DATA_Vertex_ListPLHM::UnbindForceList_1(), and DATA_Vertex_List::UnbindForceList_1().
| texture<float4, 1, cudaReadModeElementType> CudaTexForceList_2 |
texture for a list of forces
Definition at line 49 of file TAPsCUDA_GlobalTextureRef.cu.
Referenced by DATA_Vertex_ListPLHM::BindForceList_2(), DATA_Vertex_List::BindForceList_2(), Global__ModelElasticRod_AdvSim_CU(), DATA_Vertex_ListPLHM::UnbindForceList_2(), and DATA_Vertex_List::UnbindForceList_2().
| texture<float4, 1, cudaReadModeElementType> CudaTexHomeVertexList |
texture for list of home vertices
Definition at line 36 of file TAPsCUDA_GlobalTextureRef.cu.
Referenced by DATA_Vertex_ListPLHM::BindHomeVertexList(), DATA_Vertex_List::BindHomeVertexList(), Device__CalSpringForce_VertexList(), Global__HETriMeshOneModelMultiParts_AdvSim_CU(), DATA_Vertex_ListPLHM::UnbindHomeVertexList(), and DATA_Vertex_List::UnbindHomeVertexList().
| texture<float4, 1, cudaReadModeElementType> CudaTexOrientationList |
texture for list of orientations
Definition at line 44 of file TAPsCUDA_GlobalTextureRef.cu.
Referenced by DATA_Vertex_ListPLHM::BindOrientationList(), DATA_Vertex_List::BindOrientationList(), GL__GenCylinderForElasticRodModel_CU(), Global__ModelElasticRod_AdvSim_CU(), DATA_Vertex_ListPLHM::UnbindOrientationList(), and DATA_Vertex_List::UnbindOrientationList().
| texture<float4, 1, cudaReadModeElementType> CudaTexPosConstraintList |
texture for list of position constraints (xyz) plus force ratio (w)
Definition at line 41 of file TAPsCUDA_GlobalTextureRef.cu.
Referenced by DATA_Vertex_ListPLHM::BindPosConstraintList(), DATA_Vertex_List::BindPosConstraintList(), Global__ModelStrand_AdvSim_CU(), Global__ModelStrand_AdvSim_Enforce_Constraint_CU(), DATA_Vertex_ListPLHM::UnbindPosConstraintList(), and DATA_Vertex_List::UnbindPosConstraintList().
| texture<float4, 1, cudaReadModeElementType> CudaTexPrevOrientationList |
texture for list of previous orientations
Definition at line 45 of file TAPsCUDA_GlobalTextureRef.cu.
Referenced by DATA_Vertex_ListPLHM::BindPrevOrientationList(), DATA_Vertex_List::BindPrevOrientationList(), DATA_Vertex_ListPLHM::UnbindPrevOrientationList(), and DATA_Vertex_List::UnbindPrevOrientationList().
| texture<float4, 1, cudaReadModeElementType> CudaTexPrevVertexList |
texture for list of previous vertices
Definition at line 35 of file TAPsCUDA_GlobalTextureRef.cu.
Referenced by DATA_Vertex_ListPLHM::BindPrevVertexList(), DATA_Vertex_List::BindPrevVertexList(), Global__HETriMeshOneModelMultiParts_AdvSim_CU(), Global__ModelStrand_AdvSim_CU(), DATA_Vertex_ListPLHM::UnbindPrevVertexList(), and DATA_Vertex_List::UnbindPrevVertexList().
| texture<uint1, 1, cudaReadModeElementType> CudaTexSimFlagsList |
texture for list of simulation flags
Definition at line 40 of file TAPsCUDA_GlobalTextureRef.cu.
Referenced by DATA_Vertex_ListPLHM::BindSimFlagsList(), DATA_Vertex_List::BindSimFlagsList(), Global__ModelStrand_AdvSim_CU(), Global__ModelStrand_AdvSim_Enforce_Constraint_CU(), DATA_Vertex_ListPLHM::UnbindSimFlagsList(), and DATA_Vertex_List::UnbindSimFlagsList().
| texture<int1, 1, cudaReadModeElementType> CudaTexVertexConnectionList |
texture for list of vertex connections (x:=vertex#, y:=rest length, z:=stiffness, w:=damper)
Definition at line 37 of file TAPsCUDA_GlobalTextureRef.cu.
Referenced by DATA_Vertex_ListPLHM::BindVertexConnectionList(), DATA_Vertex_List::BindVertexConnectionList(), Device__CalSpringForce_VertexList(), DATA_Vertex_ListPLHM::UnbindVertexConnectionList(), and DATA_Vertex_List::UnbindVertexConnectionList().
| texture<float4, 1, cudaReadModeElementType> CudaTexVertexList |
Texture References.
texture for list of vertices
Definition at line 34 of file TAPsCUDA_GlobalTextureRef.cu.
Referenced by DATA_Vertex_ListPLHM::BindVertexList(), DATA_Vertex_List::BindVertexList(), Device__CalSpringForce_ModelStrand(), Device__CalSpringForce_VertexList(), GL__GenCylinderForElasticRodModel_CU(), Global__HETriMeshOneModelMultiParts_AdvSim_CU(), Global__ModelElasticRod_AdvSim_CU(), Global__ModelStrand_AdvSim_CU(), Global__ModelStrand_AdvSim_Enforce_Constraint_CU(), DATA_Vertex_ListPLHM::UnbindVertexList(), and DATA_Vertex_List::UnbindVertexList().