instructions.rst 720 Bytes
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
-------------
Requirements
-------------

1. ROCm stack installed on the system (HIP runtime)
2. libnuma installed on system

-------------
Building
-------------

To build TransferBench using Makefile:
::

    $ make

To build TransferBench using cmake:
::

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

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 (e.g. CUDA 11.5)

To build:
::
    
   CUDA_PATH=<path_to_CUDA> HIP_PLATFORM=nvidia make`