SWDEV-425967, SWDEV-425968 - Revert "SWDEV-415029 - [ABI Break] Remove hcc symbols"

This reverts commit 403afae98f.

Reason for revert: This causes build failure in hipBLASLt & hipSPARSELt

Change-Id: Ifb1ee519971c6183eb53634d6d8901a9e94cc9cc
This commit is contained in:
Rakesh Roy
2023-10-09 06:31:33 -04:00
parent a5c353f8f5
commit fe5206e50a
16 changed files with 83 additions and 83 deletions
+2 -2
View File
@@ -57,7 +57,7 @@ int main(int argc, char** argv) {
}
// disable visible_devices env from shell
#ifdef __HIP_PLATFORM_NVIDIA__
#ifdef __HIP_PLATFORM_NVCC__
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_NVIDIA__
#ifdef __HIP_PLATFORM_NVCC__
UNSETENV("CUDA_VISIBLE_DEVICES");
#else
UNSETENV("ROCR_VISIBLE_DEVICES");