Commit c1aa4030 authored by limm's avatar limm
Browse files

fix Jarvis core dumped

parent 4b4ae17f
......@@ -395,7 +395,7 @@ __device__ inline double intersectAreaO(Point* ps1, int n1, Point* ps2, int n2,
return res;
}
__device__ inline void Jarvis(Point* in_poly, int& n_poly) {
__attribute__((optnone)) __device__ inline void Jarvis(Point* in_poly, int& n_poly) {
Point p_max, p_k;
int max_index, k_index;
int Stack[NMAX] = {}, top1, top2;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment