SWDEV-415029 - [ABI Break] Remove hcc symbols

Change-Id: Ic0082d3960aadbb7bc559141b6e84bd29a75b5cf
Tento commit je obsažen v:
taosang2 authored and Tao Sang committed 2023-09-28 12:36:05 -04:00
1 rodič a363fa2833
revize 403afae98f
16 files changed
+83 -83

No files matched your search

+2 -2
Zobrazit soubor
@@ -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");