SWDEV-368166 - hipGraphAddMemcpyNode1D paramcheck

adding parameter check for hipGraphAddMemcpyNode1D

Change-Id: I94dc944bd55ea04b8e9288a27c8f58dd3720161b
This commit is contained in:
pghafari
2022-12-06 11:22:49 -05:00
کامیت شده توسط Payam Ghafari
والد e2279b3869
کامیت 5acc2cdcc2
2فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
+1 -1
مشاهده پرونده
@@ -101,7 +101,7 @@ hipError_t ihipGraphAddMemcpyNode1D(hipGraphNode_t* pGraphNode, hipGraph_t graph
(numDependencies > 0 && pDependencies == nullptr)) {
return hipErrorInvalidValue;
}
hipError_t status = ihipMemcpy_validate(dst, src, count, kind);
hipError_t status = hipGraphMemcpyNode1D::ValidateParams(dst, src, count, kind);
if (status != hipSuccess) {
return status;
}