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

* rename macros so not to clash with others

* modified macro in all samples
Cette révision appartient à :
Rajy Rawther a créé et GitHub a révisé 2025-02-18 08:40:58 -05:00
1 Parent 2af7bbf4e7
révision c4fe8f5258
7 fichiers modifiés
+24 -28

Aucun fichier ne correspond à votre recherche

+2 -2
Voir le fichier
@@ -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;
}