Home
last modified time | relevance | path

Searched refs:EnvStr (Results 1 – 3 of 3) sorted by relevance

/llvm-project-15.0.7/openmp/libomptarget/include/
H A DDebug.h75 if (char *EnvStr = getenv("LIBOMPTARGET_INFO")) in getInfoLevelInternal()
76 InfoLevel.store(std::stoi(EnvStr)); in getInfoLevelInternal()
89 if (char *EnvStr = getenv("LIBOMPTARGET_DEBUG")) in getDebugLevel()
90 DebugLevel = std::stoi(EnvStr); in getDebugLevel()
/llvm-project-15.0.7/openmp/libomptarget/plugins/cuda/src/
H A Drtl.cpp540 if (const char *EnvStr = getenv("OMP_TEAM_LIMIT")) { in DeviceRTLTy() local
542 EnvTeamLimit = std::stoi(EnvStr); in DeviceRTLTy()
545 if (const char *EnvStr = getenv("OMP_TEAMS_THREAD_LIMIT")) { in DeviceRTLTy() local
547 EnvTeamThreadLimit = std::stoi(EnvStr); in DeviceRTLTy()
550 if (const char *EnvStr = getenv("OMP_NUM_TEAMS")) { in DeviceRTLTy() local
552 EnvNumTeams = std::stoi(EnvStr); in DeviceRTLTy()
557 DynamicMemorySize = std::stoi(EnvStr); in DeviceRTLTy()
563 NumInitialStreams = std::stoi(EnvStr); in DeviceRTLTy()
713 StackLimit = std::stol(EnvStr); in initDevice()
721 HeapLimit = std::stol(EnvStr); in initDevice()
[all …]
/llvm-project-15.0.7/openmp/libomptarget/plugins/amdgpu/src/
H A Drtl.cpp961 const char *EnvStr = getenv(Env); in readEnv() local
963 if (EnvStr) { in readEnv()
964 Res = std::stoi(EnvStr); in readEnv()
984 if (char *EnvStr = getenv("LIBOMPTARGET_KERNEL_TRACE")) in RTLDeviceInfoTy() local
985 print_kernel_trace = atoi(EnvStr); in RTLDeviceInfoTy()
1805 if (char *EnvStr = getenv("LIBOMPTARGET_DEVICE_RTL_DEBUG")) in DeviceEnvironment() local
1806 HostDeviceEnv.DebugKind = std::stoi(EnvStr); in DeviceEnvironment()