X-Git-Url: http://git.euphorik.ch/index.cgi?a=blobdiff_plain;f=WCudaMSE%2FBilatTools_Cuda%2Fsrc%2Fcore%2Fcudatools%2Fheader%2Fhost%2FConstantMemoryLink.h;fp=WCudaMSE%2FBilatTools_Cuda%2Fsrc%2Fcore%2Fcudatools%2Fheader%2Fhost%2FConstantMemoryLink.h;h=66f2016c739797ce4abe48528f839b6d815dd232;hb=8d08c12b29c2a14684f35c023ee39e694bb80d25;hp=0000000000000000000000000000000000000000;hpb=226de81f7e1f1fbf4ac79d0d089e8a05ec7159a0;p=GPU.git diff --git a/WCudaMSE/BilatTools_Cuda/src/core/cudatools/header/host/ConstantMemoryLink.h b/WCudaMSE/BilatTools_Cuda/src/core/cudatools/header/host/ConstantMemoryLink.h new file mode 100755 index 0000000..66f2016 --- /dev/null +++ b/WCudaMSE/BilatTools_Cuda/src/core/cudatools/header/host/ConstantMemoryLink.h @@ -0,0 +1,25 @@ +#ifndef CONSTANT_MEMORY_LINK_H_ +#define CONSTANT_MEMORY_LINK_H_ + + +/*----------------------------------------------------------------------*\ + |* Declaration *| + \*---------------------------------------------------------------------*/ + +/*--------------------------------------*\ + |* Public *| + \*-------------------------------------*/ + +struct ConstantMemoryLink + { + void** ptrDevTab; // void** pour la généricité + int n; // #octets de tout le tab + size_t sizeAll; // nb case du tableau + }; + + +#endif + +/*----------------------------------------------------------------------*\ + |* End *| + \*---------------------------------------------------------------------*/