Using CUDA power to provide new geo is new topic that I started with viewshed and other algorithm writing.
Here we will be taking about different aspect of using CUDA in GEO
int block_size = 10;
int n_blocks = N/block_size + (N%block_size == 0 ? 0:1);
los <<< n_blocks, block_size >>> (a_d,b_d, N,nXSize ,nYSize,XRef,YRef,ZRef); //line of sight
// Retrieve result from device and store it in host array
cudaMemcpy(a_h, a_d, sizeof(float)*N, cudaMemcpyDeviceToHost);
cudaMemcpy(b_h, b_d, sizeof(float)*N, cudaMemcpyDeviceToHost);
Sample program finished , I start to create GEOCloud using CUDA technology …