SWDEV-366653 - Added new graph APIs - Fix windows build

Change-Id: I580133bddcbab5529aecfb70bc9776e8c40de697
This commit is contained in:
Anusha GodavarthySurya
2022-11-23 08:39:24 +00:00
orang tua 93ce12c90d
melakukan 78eef7f173
2 mengubah file dengan 40 tambahan dan 0 penghapusan
+27
Melihat File
@@ -2136,3 +2136,30 @@ hipError_t hipGraphReleaseUserObject(hipGraph_t graph, hipUserObject_t object, u
hipError_t status = hipUserObjectRelease(object, count);
HIP_RETURN(status);
}
hipError_t hipGraphKernelNodeCopyAttributes(hipGraphNode_t hSrc, hipGraphNode_t hDst) {
HIP_INIT_API(hipGraphKernelNodeCopyAttributes, hSrc, hDst);
HIP_RETURN(hipErrorNotSupported);
}
hipError_t hipGraphDebugDotPrint(hipGraph_t graph, const char* path, unsigned int flags) {
HIP_INIT_API(hipGraphDebugDotPrint, graph, path, flags);
HIP_RETURN(hipErrorNotSupported);
}
hipError_t hipGraphNodeSetEnabled(hipGraphExec_t hGraphExec, hipGraphNode_t hNode,
unsigned int isEnabled) {
HIP_INIT_API(hipGraphNodeSetEnabled, hGraphExec, hNode, isEnabled);
HIP_RETURN(hipErrorNotSupported);
}
hipError_t hipGraphNodeGetEnabled(hipGraphExec_t hGraphExec, hipGraphNode_t hNode,
unsigned int* isEnabled) {
HIP_INIT_API(hipGraphNodeGetEnabled, hGraphExec, hNode, isEnabled);
HIP_RETURN(hipErrorNotSupported);
}
hipError_t hipGraphUpload(hipGraphExec_t graphExec, hipStream_t stream) {
HIP_INIT_API(hipGraphUpload, graphExec, stream);
HIP_RETURN(hipErrorNotSupported);
}