test parallel method kpar and GPU