Building and installing rocThrust on Windows with rmake.py

Building and installing rocThrust on Windows with rmake.py#

You can use rmake.py to build and install rocThrust on Windows. You can also use CMake if you want more build and installation options.

Clone the rocThrust project. rmake.py will be located in the rocthrust root directory.

To build and install rocThrust with rmake.py, run:

python rmake.py -i

This command also downloads rocPRIM and installs it in C:\hipSDK.

The -c option builds all clients, including the unit tests:

python rmake.py -c

CMake build options can be passed to the rmake.py script using the --cmake-darg option:

python rmake.py -ci --cmake-darg THRUST_HOST_SYSTEM=OMP --cmake-darg THRUST_DEVICE_SYSTEM=OMP

To see a complete list of rmake.py options, run:

python rmake.py --help