Files
rocm-systems/projects/hip/tests/src/nvcc/Device/hipDeviceGetLimit.cpp
T

9 lines
171 B
C++
Raw Normal View History

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