SWDEV-415029 - [ABI Break] Remove hcc symbols
This reverts commit81a120a5c5. Reason for revert: Bring back original change. Change-Id: I15c5f288bc50107831a494a81d1f16df4c2ade27 [ROCm/hip-tests commit:cf3df12106]
Este commit está contenido en:
1 padre
4b171d9fe7
commit
422d70ffb0
13 files changed
+55
-55
No files matched your search
@@ -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));
|
||||
|
||||
Reference in new issue
Block a user