Thrust is a parallel algorithms library which resembles the C++ Standard Template Library (STL).