SWDEV-543370 - Initialize variable to fix compiler errors (#431)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
a7344b87c2
Коммит
b1b4968318
@@ -372,7 +372,7 @@ static bool NoGpuTst_hipPointerGetAttributes() {
|
||||
bool passed = false;
|
||||
hipError_t err;
|
||||
hipPointerAttribute_t attributes = {};
|
||||
char* A_d;
|
||||
char* A_d = nullptr;
|
||||
err = hipPointerGetAttributes(&attributes, A_d);
|
||||
if (err == hipErrorNoDevice) {
|
||||
passed = true;
|
||||
|
||||
Ссылка в новой задаче
Block a user