SWDEV-415029 - [ABI Break] Remove hcc symbols

Change-Id: Ic0082d3960aadbb7bc559141b6e84bd29a75b5cf


[ROCm/hip-tests commit: 403afae98f]
This commit is contained in:
taosang2
2023-08-02 17:46:34 -04:00
committed by Tao Sang
parent feaa0bbe43
commit de3d24df97
16 changed files with 83 additions and 83 deletions
@@ -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");