SWDEV-428634 - Fix vla array in hip-tests
Change-Id: I98891d79ac0b141fb0ffda28ffda3dcb3e65c326
[ROCm/hip-tests commit: 03b6ca735f]
Этот коммит содержится в:
коммит произвёл
Rahul Garg
родитель
edbcc42f3b
Коммит
18749eac96
@@ -119,7 +119,7 @@ class TestContext {
|
||||
|
||||
static std::string getEnvVar(std::string var) {
|
||||
#if defined(_WIN32)
|
||||
rsize_t MAX_LEN = 4096;
|
||||
constexpr rsize_t MAX_LEN = 4096;
|
||||
char dstBuf[MAX_LEN];
|
||||
size_t dstSize;
|
||||
if (!::getenv_s(&dstSize, dstBuf, MAX_LEN, var.c_str())) {
|
||||
|
||||
Ссылка в новой задаче
Block a user