SWDEV-415029 - [ABI Break] Remove hcc symbols

This reverts commit fe5206e50a.

Reason for revert: Bring back original change.

Change-Id: I15c5f288bc50107831a494a81d1f16df4c2ade27
Tá an tiomantas seo le fáil i:
Rahul Garg údaraithe agus Rakesh Roy tiomanta 2023-10-16 17:23:01 +05:30
1 tuismitheoir bfa6d77ce5
tiomantas cf3df12106
13 comhad athraithe
+55 -55

Níor tháinig aon chomhaid le do chuardach

+2 -2
Féach ar an gComhad
@@ -57,7 +57,7 @@ int main(int argc, char** argv) {
}
// disable visible_devices env from shell
#ifdef __HIP_PLATFORM_NVCC__
#ifdef __HIP_PLATFORM_NVIDIA__
UNSETENV("CUDA_VISIBLE_DEVICES");
SETENV("CUDA_VISIBLE_DEVICES", argv[1]);
auto init_res = hipInit(0);
@@ -79,7 +79,7 @@ int main(int argc, char** argv) {
return -1;
}
#ifdef __HIP_PLATFORM_NVCC__
#ifdef __HIP_PLATFORM_NVIDIA__
UNSETENV("CUDA_VISIBLE_DEVICES");
#else
UNSETENV("ROCR_VISIBLE_DEVICES");