install.rst 1.21 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
.. meta::
  :description: TransferBench documentation 
  :keywords: TransferBench, API, ROCm, HIP

---------------------------
TransferBench installation
---------------------------

The following software is required to install TransferBench:

* ROCm stack installed on the system (HIP runtime)
* `libnuma` installed on the system

--------------------------
Building TransferBench
--------------------------

To build TransferBench using Makefile, use the following instruction:

.. code-block:: bash

            $ make

To build TransferBench using CMake, use the following commands:

.. code-block:: bash

                $ mkdir build
    
                $ cd build
    
                $ CXX=/opt/rocm/bin/hipcc cmake ..
    
                $ make

.. Note:: 

If ROCm is installed in a folder other than `/opt/rocm/`, set `ROCM_PATH` appropriately.

--------------------------
NVIDIA platform support
--------------------------

TransferBench may also be built to run on NVIDIA platforms via HIP, but requires a HIP-compatible CUDA version installed. For example, CUDA 11.5.

To build on NVIDIA platforms, use the following instruction:

.. code-block:: bash
    
             CUDA_PATH=<path_to_CUDA> HIP_PLATFORM=nvidia make`