Problem with compiling and execution. After compiling project dont work. Help Please.

Hallo:

Then i am compiling this Project on Google code… project, there are same errors:

[codebox]./theta_kernel.cu(58): warning: variable “num_threads” was declared but never referenced

./theta_kernel.cu(525): warning: variable “data_index” was declared but never referenced

gaussian.cu(338): warning: variable “determinant” was declared but never referenced

./theta_kernel.cu(377): Advisory: Removed dead synchronization intrinsic

./theta_kernel.cu(369): Advisory: Removed dead synchronization intrinsic

./theta_kernel.cu(345): Advisory: Cannot tell what pointer points to, assuming global memory space

./theta_kernel.cu(351): Advisory: Cannot tell what pointer points to, assuming global memory space

./theta_kernel.cu(248): Advisory: Cannot tell what pointer points to, assuming global memory space

./theta_kernel.cu(262): Advisory: Cannot tell what pointer points to, assuming global memory space

./theta_kernel.cu(410): Advisory: Cannot tell what pointer points to, assuming global memory space

./theta_kernel.cu(419): Advisory: Cannot tell what pointer points to, assuming global memory space

./theta_kernel.cu(419): Advisory: Cannot tell what pointer points to, assuming global memory space

./theta_kernel.cu(423): Advisory: Cannot tell what pointer points to, assuming global memory space

./theta_kernel.cu(436): Advisory: Cannot tell what pointer points to, assuming global memory space

./theta_kernel.cu(438): Advisory: Cannot tell what pointer points to, assuming global memory space

/usr/local/cuda/bin/…/include/device_functions.h(1328): Advisory: Cannot tell what pointer points to, assuming global memory space

./theta_kernel.cu(445): Advisory: Cannot tell what pointer points to, assuming global memory space

./theta_kernel.cu(497): Advisory: Cannot tell what pointer points to, assuming global memory space

./theta_kernel.cu(537): Advisory: Cannot tell what pointer points to, assuming global memory space

./theta_kernel.cu(557): Advisory: Cannot tell what pointer points to, assuming global memory space

./theta_kernel.cu(582): Advisory: Cannot tell what pointer points to, assuming global memory space

./theta_kernel.cu(584): Advisory: Cannot tell what pointer points to, assuming global memory space

./theta_kernel.cu(591): Advisory: Cannot tell what pointer points to, assuming global memory space

./theta_kernel.cu(591): Advisory: Cannot tell what pointer points to, assuming global memory space

./theta_kernel.cu(248): Advisory: Cannot tell what pointer points to, assuming global memory space

./theta_kernel.cu(262): Advisory: Cannot tell what pointer points to, assuming global memory space

./theta_kernel.cu(58): warning: variable “num_threads” was declared but never referenced

./theta_kernel.cu(525): warning: variable “data_index” was declared but never referenced

gaussian.cu(338): warning: variable “determinant” was declared but never referenced

[/codebox]

And then i am execute the binary file hi is did not work well. It seems that only 1 iteration is proceed.

HELP PLEASE ! If you are not hard to try to compile the project in itself and let you have found such errors.

p.s. CUDA 2.1, 8800 GT, Ubuntu Linux 8.04. gcc 4.1.3 g++ 4.1.3

Tnx Dmitry.

“Cannot tell what pointer points to, assuming global memory space” is usual if you use pointer array

for example

[code]

static global void test_pointerArray( unsigned int **A )

{

unsigned int idx = blockIdx.x * BLOCK_DIM + threadIdx.x;

unsigned int idy = blockIdx.y * BLOCK_DIM + threadIdx.y;



A[idy][idx] = 100*idy + idx ;

}

[\code]

So you can ignore this warning message.