Lines Matching refs:EnvStr
540 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()
555 if (const char *EnvStr = getenv("LIBOMPTARGET_SHARED_MEMORY_SIZE")) { in DeviceRTLTy() local
557 DynamicMemorySize = std::stoi(EnvStr); in DeviceRTLTy()
561 if (const char *EnvStr = getenv("LIBOMPTARGET_NUM_INITIAL_STREAMS")) { in DeviceRTLTy() local
563 NumInitialStreams = std::stoi(EnvStr); in DeviceRTLTy()
712 if (const char *EnvStr = getenv("LIBOMPTARGET_STACK_SIZE")) { in initDevice() local
713 StackLimit = std::stol(EnvStr); in initDevice()
720 if (const char *EnvStr = getenv("LIBOMPTARGET_HEAP_SIZE")) { in initDevice() local
721 HeapLimit = std::stol(EnvStr); in initDevice()
940 if (const char *EnvStr = getenv("LIBOMPTARGET_DEVICE_RTL_DEBUG")) in loadBinary() local
941 DeviceEnv.DebugKind = std::stoi(EnvStr); in loadBinary()