SWDEV-368166 - hipGraphAddMemcpyNode1D paramcheck
adding parameter check for hipGraphAddMemcpyNode1D
Change-Id: I94dc944bd55ea04b8e9288a27c8f58dd3720161b
[ROCm/clr commit: 5acc2cdcc2]
This commit is contained in:
zatwierdzone przez
Payam Ghafari
rodzic
2411eeba32
commit
ed6108c2d6
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user