Benchmark variety of GPUs for the support of host-memory access
Open, Needs TriagePublic

Description

Instructions on how to do the test:

  1. Download the testing package: https://disk.yandex.ru/d/1hb5z1oK7-Bbcg
  2. Open Windows Console (cmd.exe)
  3. Execute four executables from the folder and save their output to a text file:
sycl-ls.exe
brush-data-transfers-usm_device.exe
brush-data-transfers-usm_host.exe
brush-data-transfers-usm_shared.exe

The first command will show you the list of available compute devices, the other ones will dump the actually used device in the beginning of the execution. If you would like to switch the used device, set the following environment variable:

set ONEAPI_DEVICE_SELECTOR="*:gpu"

or you can use the following like to limit execution to CPU only:

set ONEAPI_DEVICE_SELECTOR="*:cpu"

If sycl-ls.exe doesn't show your GPU, it might be that you need to install some vendor-specific "compute runtimes". I don't know how they are called exactly, but I guess it should be something including words "CUDA" for NVIDIA GPU, and something including "HIP" or "OpenCL" for AMD GPU.

PS:
Benchmarks may run for about a minute each, don't be scared of them looking hungup ;)

dkazakov created this task.Nov 20 2023, 3:39 PM
dkazakov updated the task description. (Show Details)Nov 20 2023, 3:43 PM