.. title: PAR Class 13, Mon 2019-02-25
.. slug: class13
.. date: 2019-02-25
.. tags: class
.. category: 
.. link: 
.. description: 
.. type: text

.. raw:: html

   <style> .red {color:red} </style>
   <style> .blue {color:blue} </style>

.. role:: red
.. role:: blue

.. sectnum::
.. contents:: Table of contents::
..



Thrust
---------------------------------------------

#. The github repository, with demo is https://github.com/thrust/thrust.git .

   Nvidia's proprietary version is slightly newer.
   
#. The most comprehensive doc is online at http://thrust.github.io/doc/index.html

   It is badly written and slightly obsolete.

#. There are various tutorials online, most obsolescent.  E.g.,
   they don't use C++-11 lambdas, which are a big help.
   
#. Look at some Thrust programs in /parallel-class/cuda/thrust

#. Continue  `Stanford's parallel course notes <../../stanford/>`_.

   #. Lecture 8-: Thrust ctd.
   
#. One Nvidia-sponsored alternative is agency, at https://github.com/agency-library/ .

#. There are other alternatives that I'll mention later.

#. The alternatives are lower-level (= faster and harder to use) and newer (= possibly less debugged, fewer users).
   
