error: `__device_stub___globfunc__' undeclared NVCC compilation issue

THIS IS AN INCOMPLETE POST. Please see [topic=“92369”]Complete Post[/topic]

Administrator, please delete this topic.

Hello all,

I am having a really hard time to compile this code.

[codebox]

template <int l, int s>

host void decode(float *g_odata, float *g_idata)

{

dim3 dimBlock(l, 1, 1);

dim3 dimGrid(l, 1, 1);

int smemSize = l * sizeof(float);

dec_kernel<4><<< dimGrid, dimBlock, smemSize >>>(g_idata, g_odata);

min_err <4,4><<< dimGrid, dimBlock, smemSize >>>(g_odata);

}[/codebox]