SWDEV-433143 - Changes VLA to std::vector in hipDeviceGetUuid

Change-Id: I7251b6a6e8efa7d4051c50422c0022623862d8ae


[ROCm/hip-tests commit: 9c0686dded]
This commit is contained in:
Ioannis Assiouras
2023-11-20 10:08:16 +00:00
orang tua e070627ea7
melakukan af570d8d63
@@ -134,7 +134,7 @@ TEST_CASE("Unit_hipDeviceGetUuid_From_RocmInfo") {
}
char command_op[BUFFER_LEN];
int j = 0;
std::string output[deviceCount]; //NOLINT
std::vector<std::string> output(deviceCount); //NOLINT
while (fgets(command_op, BUFFER_LEN, fpipe)) {
std::string rocminfo_line(command_op);
if ((std::string::npos != rocminfo_line.find("CPU-"))) {