SWDEV-415965 - Fixing uninitialized variable error for pitch_M and
update hipArray in hipGetLastError Change-Id: I5656eaa666c0472fb852aa0f95ae1b75c98b60ab
Этот коммит содержится в:
1 родитель
949cb688dd
Коммит
baaaff9d7f
3 files changed
+4
-2
No files matched your search
@@ -143,6 +143,8 @@
|
|||||||
"=== Below tests fail in stress test on 24/07/23 ===",
|
"=== Below tests fail in stress test on 24/07/23 ===",
|
||||||
"Unit_hipStreamCreateWithPriority_ValidateWithEvents",
|
"Unit_hipStreamCreateWithPriority_ValidateWithEvents",
|
||||||
"Unit_hipEventIpc",
|
"Unit_hipEventIpc",
|
||||||
|
"=== SWDEV-427101:Below test fails randomly in PSDB ===",
|
||||||
|
"Unit_deviceAllocation_InOneThread_AccessInAllThreads",
|
||||||
#endif
|
#endif
|
||||||
#if defined VEGA20
|
#if defined VEGA20
|
||||||
"=== SWDEV-419112 Below tests fail in stress test on 29/08/23 ===",
|
"=== SWDEV-419112 Below tests fail in stress test on 29/08/23 ===",
|
||||||
|
|||||||
@@ -285,7 +285,7 @@ TEST_CASE("Unit_hipGetLastError_with_hipDrvMemcpy3DAsync") {
|
|||||||
TEST_CASE("Unit_hipGetLastError_with_hipMemcpy3DAsync") {
|
TEST_CASE("Unit_hipGetLastError_with_hipMemcpy3DAsync") {
|
||||||
constexpr int width{10}, height{10}, depth{10};
|
constexpr int width{10}, height{10}, depth{10};
|
||||||
auto size = width * height * depth * sizeof(int);
|
auto size = width * height * depth * sizeof(int);
|
||||||
hipArray *devArray;
|
hipArray_t devArray;
|
||||||
|
|
||||||
hipStream_t stream;
|
hipStream_t stream;
|
||||||
HIP_CHECK(hipStreamCreate(&stream));
|
HIP_CHECK(hipStreamCreate(&stream));
|
||||||
|
|||||||
@@ -253,7 +253,7 @@ static void checkGraphMemcpyMemsetKernelMixCall(const unsigned int kNumIter) {
|
|||||||
hipGraphNode_t kNode[kNumIter];
|
hipGraphNode_t kNode[kNumIter];
|
||||||
hipGraph_t graph;
|
hipGraph_t graph;
|
||||||
hipGraphExec_t graphExec;
|
hipGraphExec_t graphExec;
|
||||||
int pitch_M;
|
int pitch_M = 0;
|
||||||
|
|
||||||
int *A_d, *B_d, *C_d, *A_h, *B_h, *C_h;
|
int *A_d, *B_d, *C_d, *A_h, *B_h, *C_h;
|
||||||
HipTest::initArrays(&A_d, &B_d, &C_d, &A_h, &B_h, &C_h, N, false);
|
HipTest::initArrays(&A_d, &B_d, &C_d, &A_h, &B_h, &C_h, N, false);
|
||||||
|
|||||||
Reference in new issue
Block a user