rename some macros so it doesn't clash with others (#510)

* rename macros so not to clash with others

* modified macro in all samples

[ROCm/rocdecode commit: c4fe8f5258]
Este commit está contenido en:
Rajy Rawther
2025-02-18 05:40:58 -08:00
cometido por GitHub
padre c8a7b82794
commit 3b6a4d3293
Se han modificado 7 ficheros con 24 adiciones y 28 borrados
@@ -178,13 +178,13 @@ int main(int argc, char **argv) {
}
if (num_devices < 1) {
ERR("ERROR: didn't find any GPU!");
ROCDEC_ERR("ERROR: didn't find any GPU!");
return -1;
}
hip_status = hipGetDeviceProperties(&hip_dev_prop, device_id);
if (hip_status != hipSuccess) {
ERR("ERROR: hipGetDeviceProperties for device (" +TOSTR(device_id) + " ) failed! (" + hipGetErrorName(hip_status) + ")" );
ROCDEC_ERR("ERROR: hipGetDeviceProperties for device (" +TOSTR(device_id) + " ) failed! (" + hipGetErrorName(hip_status) + ")" );
return -1;
}