CUDA Constant Memory Initialalização
// Initialised as a global variable
__constant__ float constData[256];
...
float data[256];
// Pass data to constData (in the texture memory of the GPU)
cudaMemcpyToSymbol(constData, data, sizeof(data), 0, cudaMemcpyHostToDevice));
Arthur Elskens