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
@@ -42,7 +42,7 @@ static void getDeviceCount(int *pdevCnt) {
pipe(fd);
// disable visible_devices env from shell
#ifdef __HIP_PLATFORM_NVCC__
#ifdef __HIP_PLATFORM_NVIDIA__
unsetenv("CUDA_VISIBLE_DEVICES");
#else
unsetenv("ROCR_VISIBLE_DEVICES");
@@ -96,7 +96,7 @@ bool runMaskedDeviceTest(int actualNumGPUs) {
snprintf(visibleDeviceString, MAX_SIZE, "%d", VISIBLE_DEVICE);
// disable visible_devices env from shell
#ifdef __HIP_PLATFORM_NVCC__
#ifdef __HIP_PLATFORM_NVIDIA__
unsetenv("CUDA_VISIBLE_DEVICES");
setenv("CUDA_VISIBLE_DEVICES", visibleDeviceString, 1);
HIP_CHECK(hipInit(0));