 const uint32_t colors[] = { 0x0000ff00, 0x000000ff, 0x00ffff00, 0x00ff00ff, 0x0000ffff, 0x00ff0000, 0x00ffffff };
 const int num_colors = sizeof(colors)/sizeof(uint32_t);
 
-#define START_RANGE(name,cid) { \
+#define PUSH_RANGE(name,cid) { \
 	int color_id = cid; \
 	color_id = color_id%num_colors;\
 	nvtxEventAttributes_t eventAttrib = {0}; \

	eventAttrib.message.ascii = name; \
	nvtxRangePushEx(&eventAttrib); \
}
#define END_RANGE nvtxRangePop();
#else
#define START_RANGE(name,cid)
#define END_RANGE
#endif

__global__ void init_data_kernel( int n, double* x)

	cudaFree(x_d);
	cudaFreeHost(x);
	cudaDeviceSynchronize();
	POP_RANGE
}

int main()
