Better OpenMP usage; gpu acceleration