dijkstra.cl: Alignment corrected. The problem was in ImageIFT's struct. Semaphores removed.
kernel2.cl: Semaphores and some commented codes removed.
watershed.c: Using the copy buffer to gpu mode.