SWDEV-360317 - Correct array creation. (#3023)
Change-Id: I9fd80bc4202a10a83a6c22a813af6cdbb84f3c53
[ROCm/hip commit: 7cc1e219c8]
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
23902c8bfc
Коммит
dd012065e8
@@ -143,7 +143,7 @@ TEST_CASE("Unit_hipMemAdvise_TstFlags") {
|
||||
float *Hmm = nullptr;
|
||||
int AttrVal = 0;
|
||||
HIP_CHECK(hipGetDeviceCount(&NumDevs));
|
||||
Outpt = new int(NumDevs);
|
||||
Outpt = new int[NumDevs];
|
||||
HIP_CHECK(hipMallocManaged(&Hmm, MEM_SIZE * 2, hipMemAttachGlobal));
|
||||
// With the following for loop we iterate through each of the Gpus in the
|
||||
// system set and unset the flags and check the behavior.
|
||||
|
||||
Ссылка в новой задаче
Block a user