A implementation of Separating Axis Theorem using pthreads and cuda.