Neko 1.99.11
A portable framework for high-order spectral element flow simulations
Loading...
Searching...
No Matches
props.hip File Reference
#include <hip/hip_runtime.h>
#include <device/hip/props.h>
Include dependency graph for props.hip:

Go to the source code of this file.

Functions

int hip_device_mp_count (void)
size_t hip_device_total_mem (void)

Function Documentation

◆ hip_device_mp_count()

int hip_device_mp_count ( void )

Number of compute units (multiprocessors) of the current device, or 0 if the query fails.

Definition at line 42 of file props.hip.

◆ hip_device_total_mem()

size_t hip_device_total_mem ( void )

Total memory of the current device in bytes, or 0 if the query fails.

Definition at line 60 of file props.hip.