Fichiers
rocm-systems/tests/src/nvcc/Device/hipDeviceGetLimit.cpp
T

9 lignes
171 B
C++
Brut Vue normale Historique

#include <hip/hip_runtime_api.h>
#include "test_common.h"
int main()
{
hipLimit_t lim = hipLimitMallocHeapSize;
HIP_PRINT_STATUS(hipDeviceGetLimit(NULL, lim));
}