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

* rename macros so not to clash with others

* modified macro in all samples
This commit is contained in:
Rajy Rawther
2025-02-18 05:40:58 -08:00
committed by GitHub
parent 2af7bbf4e7
commit c4fe8f5258
7 changed files with 24 additions and 28 deletions
+2 -2
View File
@@ -391,12 +391,12 @@ int main(int argc, char **argv) {
return -1;
}
if (num_devices < 1) {
ERR("ERROR: didn't find any GPU!");
ROCDEC_ERR("ERROR: didn't find any GPU!");
return -1;
}
if (hipSuccess != hipGetDeviceProperties(&hip_dev_prop, device_id)) {
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;
}