I am trying to implement the function below using GPU but I got different errors like “SQRt is unknown” and type casting issues. I would appreciate if somebody could help me out what is wrong with this code?
# pts is 2D column vector with n*2 size and thr is a single value
out_x = np.array()
out_y = np.array()
pts = numpy.delete(pts, (0), axis=0)