docc 0.8.3 (0d44999b)
C++ API Reference
Loading...
Searching...
No Matches
sdfg::gpu::rocm::RocmDeviceInfo Struct Reference

A ROCm/HIP GPU device as reported by rocminfo: its LLVM/ROCm ISA (gfx) name together with the marketing name(s) of the device(s) that report it and the wavefront size. More...

#include <sdfg/targets/rocm/rocm_arch.h>

Public Attributes

std::string gfx_name
 LLVM/ROCm ISA target name, e.g. "gfx1201", "gfx942".
std::vector< std::string > device_names
 Distinct marketing device names sharing this gfx target, useful for logging.
int wavefront_size = 0
 Wavefront (wave) size in threads, e.g. 32 (RDNA) or 64 (CDNA/GCN); 0 if unknown.

Detailed Description

A ROCm/HIP GPU device as reported by rocminfo: its LLVM/ROCm ISA (gfx) name together with the marketing name(s) of the device(s) that report it and the wavefront size.

This is the AMD analogue of cuda::CudaComputeCapability.

Member Data Documentation

◆ device_names

std::vector<std::string> sdfg::gpu::rocm::RocmDeviceInfo::device_names

Distinct marketing device names sharing this gfx target, useful for logging.

◆ gfx_name

std::string sdfg::gpu::rocm::RocmDeviceInfo::gfx_name

LLVM/ROCm ISA target name, e.g. "gfx1201", "gfx942".

◆ wavefront_size

int sdfg::gpu::rocm::RocmDeviceInfo::wavefront_size = 0

Wavefront (wave) size in threads, e.g. 32 (RDNA) or 64 (CDNA/GCN); 0 if unknown.


The documentation for this struct was generated from the following file: